Skip to content

Commit

Permalink
Only run gcovr on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiashienzsch committed Sep 20, 2024
1 parent 5d247a4 commit d4d970c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ jobs:
run: pytest --cov=pffdtd --cov-branch

- name: GCOV
if: runner.os == 'Linux'
run: gcovr --xml-pretty --exclude-unreachable-branches --exclude-throw-branches -r src -s build -o build/coverage.xml

- name: Upload coverage report
Expand All @@ -138,3 +139,4 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
files: ./.coverage,./build/coverage.xml
handle_no_reports_found: true

0 comments on commit d4d970c

Please sign in to comment.