Skip to content

Commit

Permalink
Undo addition to lcov command ignore error
Browse files Browse the repository at this point in the history
Previously the cpp code coverage was failing due to an error. I added an
ignore error command to lcov but as Johann suggested this may have been a glitch as
later a new error arose saying the ignore errors command did not work it seems
the version of lcov installed changed perhaps as a result of others having similar bugs so
I removed the ignore error command
  • Loading branch information
Raphael Shirley committed Oct 17, 2024
1 parent 340be82 commit b57ed26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/testing-and-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Collect C++ coverage
run: |
lcov --output-file coverage.cpp --capture --directory build --rc geninfo_unexecuted_blocks=1 --ignore-errors mismatch,gcov
lcov --output-file coverage.cpp --capture --directory build
lcov --output-file coverage.cpp --extract coverage.cpp $PWD/src/"*"
cat coverage.lcov coverage.cpp > coverage.txt
Expand Down

0 comments on commit b57ed26

Please sign in to comment.