Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
unittests:
name: unit_tests
runs-on: macOS-latest
timeout-minutes: 45
timeout-minutes: 60
steps:
- uses: actions/checkout@v1
with:
Expand All @@ -22,7 +22,7 @@ jobs:
tsan:
name: tsan
runs-on: ubuntu-18.04
timeout-minutes: 45
timeout-minutes: 60
steps:
- uses: actions/checkout@v1
with:
Expand All @@ -38,7 +38,7 @@ jobs:
asan:
name: asan
runs-on: ubuntu-18.04
timeout-minutes: 45
timeout-minutes: 60
steps:
- uses: actions/checkout@v1
with:
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: coverage

on:
push:
branches:
- master
pull_request:
paths:
- 'library/common/**'
- 'test/**'

jobs:
coverage:
name: coverage
runs-on: ubuntu-18.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: 'Install dependencies'
run: ./ci/linux_ci_setup.sh
- name: 'Run coverage'
run: |
export PATH=/usr/lib/llvm-8/bin:$PATH
export CC=clang
export CXX=clang++
./test/coverage/run_coverage.sh
19 changes: 11 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.aswb
.DS_Store
.idea
.ijwb
.vscode
/bazel-*
/build_*
/dist/*pom.xml
Expand All @@ -7,15 +12,13 @@
/dist/Envoy.framework
/dist/*.asc
/dist/*.sha256
.DS_Store
/generated
.idea
.ijwb
.aswb
*.pyc
tags
/test/coverage/BUILD
/tmp
*.pyc
*.tulsiconf-user
tulsi-workspace
.vscode
*.xcodeproj
clang.bazelrc
user.bazelrc
tags
tulsi-workspace
4 changes: 4 additions & 0 deletions ci/linux_ci_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-8 1
sudo apt-get install gnupg2
gpg --version

# buildifier
sudo wget -O /usr/local/bin/buildifier https://github.com/bazelbuild/buildtools/releases/download/2.2.1/buildifier
sudo chmod +x /usr/local/bin/buildifier

# bazelisk
sudo wget -O /usr/local/bin/bazel https://github.com/bazelbuild/bazelisk/releases/download/v0.0.8/bazelisk-linux-amd64
sudo chmod +x /usr/local/bin/bazel
2 changes: 1 addition & 1 deletion envoy
Submodule envoy updated 1415 files
10 changes: 10 additions & 0 deletions test/coverage/run_coverage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

set -e

export REPOSITORY="@envoy"
export EXTRA_QUERY_PATHS="//test/..."
export BUILD_PATH="test/coverage/BUILD"
export ONLY_EXTRA_QUERY_PATHS="true"

envoy/test/run_envoy_bazel_coverage.sh
2 changes: 1 addition & 1 deletion test/integration/dispatcher_integration_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class DispatcherIntegrationTest : public BaseIntegrationTest,

static std::string bootstrap_config() {
// At least one empty filter chain needs to be specified.
return ConfigHelper::BASE_CONFIG + R"EOF(
return ConfigHelper::baseConfig() + R"EOF(
filter_chains:
filters:
)EOF";
Expand Down