Run lcov with proper --exclude flags to eliminate unwanted coverage data generation
All checks were successful
Chaos Ci / test-and-benchmark (push) Successful in 2m30s
All checks were successful
Chaos Ci / test-and-benchmark (push) Successful in 2m30s
This commit is contained in:
@@ -37,7 +37,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Process coverage data
|
- name: Process coverage data
|
||||||
run: |
|
run: |
|
||||||
lcov --ignore-errors inconsistent,mismatch -c -d build-debug/ -o lcovout
|
lcov --ignore-errors inconsistent,mismatch --exclude '*/usr/*' --exclude '*/_deps/*' --exclude '*/ChaosTests/*' -c -d build-debug/ -o lcovout
|
||||||
genhtml lcovout -o coverage-report
|
genhtml lcovout -o coverage-report
|
||||||
|
|
||||||
- name: Upload coverage report
|
- name: Upload coverage report
|
||||||
|
|||||||
Reference in New Issue
Block a user