Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix codecov upload #189

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,18 @@ jobs:
needs: pytest
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
- name: Download coverage artifact
uses: actions/download-artifact@v2
with:
name: coverage-main
path: . # Downloads the artifact to the current working directory
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v2 # Updated to use version 2
with:
file: ./coverage.xml # Explicitly specifying the coverage report file
flags: unittests
fail_ci_if_error: true


docs:
runs-on: ${{ matrix.os }}
Expand Down
Loading