Skip to content

Commit 1e2b2aa

Browse files
committed
Exclude test directory from coverage reports
1 parent 9b3305e commit 1e2b2aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/verify-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ jobs:
668668
- name: Generate coverage report
669669
run: |
670670
cd build
671-
gcovr --root .. --xml coverage.xml --xml-pretty
671+
gcovr --root .. --exclude test/ --xml coverage.xml --xml-pretty
672672
if: ${{ matrix.os-type == 'ubuntu' && matrix.c-compiler == 'gcc' && matrix.debug == 'debug' && matrix.coverage == 'coverage' && success() }}
673673

674674
- name: Upload coverage to Codecov

0 commit comments

Comments
 (0)