Skip to content

Commit ff87458

Browse files
committed
fix coverage on sonar
1 parent a8ee0c7 commit ff87458

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ jobs:
119119
run: |
120120
cd build
121121
lcov --keep-going --directory . --capture --output-file coverage.info
122-
lcov --remove coverage.info '*/test/*' -o coverage.info
123-
gcovr -e test -e examples --sonarqube -o coverage.xml --exclude-throw-branches \
122+
lcov --remove coverage.info '*/test/*' '*/include/*' -o coverage.info
123+
gcovr -e test -e examples --sonarqube -u -o coverage.xml --exclude-throw-branches \
124124
--gcov-ignore-parse-errors --exclude-unreachable-branches
125125
126126
- name: Upload coverage to Codecov

0 commit comments

Comments
 (0)