Skip to content

Commit a144ed3

Browse files
author
Peter Neiss
committed
Fix Code Coverage: ignore unused exclude patterns
- Add 'unused' to ignore-errors list for lcov --remove - Fixes: ERROR: 'exclude' pattern '*/build/*' is unused - Coverage data successfully collected: 94.9% line coverage
1 parent 59c5fec commit a144ed3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
'*/testes/*' \
5454
--output-file coverage_filtered.info \
5555
--rc branch_coverage=1 \
56-
--ignore-errors mismatch,gcov,inconsistent
56+
--ignore-errors mismatch,gcov,inconsistent,unused
5757
5858
# Generate HTML report
5959
genhtml coverage_filtered.info \

0 commit comments

Comments
 (0)