Skip to content

Commit

Permalink
Improved sonarcloud coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
randaz81 committed Dec 6, 2023
1 parent 355b5eb commit 77d0e61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1980,7 +1980,8 @@ jobs:
- name: Capture coverage info
run: |
(cd build && gcovr --sonarqube --branches --output coverage.xml --root .. .)
cd build
gcovr --exclude="../extern/*" --sonarqube --branches --output coverage.xml --root .. .)
- name: Print coverage info file
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,8 @@ jobs:
- name: Capture coverage info
run: |
(cd build && gcovr --sonarqube --branches --output coverage.xml --root .. .)
cd build
gcovr --exclude="../extern/*" --sonarqube --branches --output coverage.xml --root .. .)
- name: Print coverage info file
run: |
Expand Down

0 comments on commit 77d0e61

Please sign in to comment.