Skip to content

Commit

Permalink
Workaround for failing code coverage
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Jowett <[email protected]>
  • Loading branch information
Alan-Jowett committed Jan 17, 2025
1 parent 0545f34 commit 00b4719
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Build
run: |
mkdir build
cmake -B build -DCMAKE_BUILD_TYPE=${{env.BUILD_CONFIGURATION}} -DCMAKE_CXX_FLAGS="--coverage -fprofile-arcs -ftest-coverage -g"
cmake -B build -DCMAKE_BUILD_TYPE=${{env.BUILD_CONFIGURATION}} -DCMAKE_CXX_FLAGS="--coverage -fprofile-arcs -fprofile-update=atomic -ftest-coverage -g"
cmake --build build -j $(nproc)
- name: Run unit tests
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Generate code coverage report
run: |
mkdir coverage
lcov --capture --directory build --include '*/ebpf-verifier/src/*' --output-file coverage/lcov.info
lcov --ignore-errors --capture --directory build --include '*/ebpf-verifier/src/*' --output-file coverage/lcov.info
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
Expand Down

0 comments on commit 00b4719

Please sign in to comment.