Skip to content

Commit d1ab167

Browse files
committed
fix: coveralls housekeeping
1 parent cb5b398 commit d1ab167

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,15 @@ jobs:
6464
cmake --preset=debug
6565
cmake --build --preset=debug
6666
ctest --preset=debug
67-
lcov --gcov-tool gcov --capture --directory . --output-file lcov.info --rc geninfo_unexecuted_blocks=1 --ignore-errors mismatch
67+
lcov --gcov-tool gcov \
68+
--capture \
69+
--directory . \
70+
--output-file lcov.info \
71+
--rc geninfo_unexecuted_blocks=1 \
72+
--ignore-errors mismatch
73+
lcov --remove lcov.info '/home/*' '/usr/*' 'tests/*' --output-file lcov_filtered.info
6874
6975
- name: Upload coverage to Coveralls
7076
uses: coverallsapp/github-action@v2
7177
with:
72-
path-to-lcov: lcov.info
78+
path-to-lcov: lcov_filtered.info

0 commit comments

Comments
 (0)