Skip to content

Commit

Permalink
CI: Always upload code coverage reports to codecov (#3246)
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed May 15, 2024
1 parent d44e196 commit b3d7575
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,15 @@ jobs:
# Upload diff images on test failure
- name: Upload diff images if any test fails
uses: actions/upload-artifact@v4
if: ${{ failure() }}
if: failure()
with:
name: artifact-${{ runner.os }}-${{ matrix.python-version }}
path: tmp-test-dir-with-unique-name

# Upload coverage to Codecov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4.4.0
if: success() || failure()
with:
use_oidc: true
file: ./coverage.xml # optional
Expand Down

0 comments on commit b3d7575

Please sign in to comment.