Skip to content

Commit

Permalink
added if condition for code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
likle committed Jan 7, 2024
1 parent 7d4c207 commit bbca607
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
ignore:
- "test"
- "test"
- "demo"
1 change: 1 addition & 0 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ jobs:
working-directory: ${{ steps.strings.outputs.build-output-dir }}
run: ctest --build-config ${{ matrix.build_type }}
- name: Coverage
if: ${{ matrix.c_compiler == 'gcc' && matrix.sanitizers == 'OFF' }}
working-directory: ${{ steps.strings.outputs.build-output-dir }}
run: bash <(curl -s https://codecov.io/bash)

0 comments on commit bbca607

Please sign in to comment.