Skip to content

Commit

Permalink
Dont need test coverage for every platform
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanwm authored Aug 13, 2024
1 parent 8ea7002 commit 6a24283
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/CI-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,14 @@ jobs:
run: ctest -C ${{env.BUILD_TYPE}}

- name: Generate Coverage Report
# only need to do this for one combination of OS and compiler
if: ${{ matrix.OS == 'ubuntu-latest' && matrix.compiler.c == 'gcc' }}
working-directory: ${{github.workspace}}/build
run: gcovr --json -o nuTens_coverage.json -r .. -f "../nuTens/*"

- name: Upload coverage reports to Codecov
# only need to do this for one combination of OS and compiler
if: ${{ matrix.OS == 'ubuntu-latest' && matrix.compiler.c == 'gcc' }}
uses: codecov/[email protected]
with:
verbose: true
Expand Down

0 comments on commit 6a24283

Please sign in to comment.