Skip to content

Commit

Permalink
fix: define exclude-pattern-prefix in coverage workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DNKpp committed Sep 30, 2023
1 parent 989c78b commit 63b4a37
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ jobs:
- name: Run gcovr
run: |
gcovr --root ${{env.TESTS_DIR}} --filter include/Simple-Utility --keep -j 4 \
--exclude-lines-by-pattern "\s*assert\(" --exclude-unreachable-branches --exclude-noncode-lines --exclude-throw-branches \
--exclude-lines-by-pattern "\s*assert\(" \
--exclude-pattern-prefix "\s*(LCOV|GCOV|GCOVR)" \
--exclude-unreachable-branches \
--exclude-noncode-lines \
--exclude-throw-branches \
--cobertura ${{env.COBERTURA_REPORT}} --cobertura-pretty \
--html-nested ${{env.HTML_REPORT_DIR}} --html-title "Simple-Utility Coverage Report" \
--coveralls ${{env.COVERALLS_REPORT}} --coveralls-pretty
Expand Down

0 comments on commit 63b4a37

Please sign in to comment.