Skip to content

Commit

Permalink
Merge pull request #762 from crim-ca/fix-cov-action
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault authored Nov 23, 2024
2 parents d060556 + f248857 commit bc032fa
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,15 @@ jobs:
- name: Run Tests
run: make stop ${{ matrix.test-case }}

- name: Upload test results to Codecov
if: ${{ !cancelled() && success() && matrix.test-case == 'test-coverage-only' }}
uses: codecov/test-results-action@v1
with:
files: reports/coverage-junit.xml,!./cache
flags: ${{ matrix.python-version }}
token: ${{ secrets.CODECOV_TOKEN }}
# disable due to confusing and unhelpful messages created by codecov
# (see )https://github.com/codecov/feedback/issues/304#issuecomment-2492675117)
# - name: Upload test results to Codecov
# if: ${{ !cancelled() && success() && matrix.test-case == 'test-coverage-only' }}
# uses: codecov/test-results-action@v1
# with:
# files: reports/coverage-junit.xml,!./cache
# flags: ${{ matrix.python-version }}
# token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload coverage report
uses: codecov/codecov-action@v2
if: ${{ success() && matrix.test-case == 'test-coverage-only' }}
Expand Down

0 comments on commit bc032fa

Please sign in to comment.