Skip to content

Commit

Permalink
Upload test report to codecov
Browse files Browse the repository at this point in the history
berland committed Oct 2, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 469bb84 commit 85fbde0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -31,9 +31,15 @@ jobs:
- name: Generate coverage report
run: |
pytest --hypothesis-profile ci tests --disable-warnings --cov=pyscal --cov-report=xml
pytest --hypothesis-profile ci tests --disable-warnings --cov=pyscal --cov-report=xml --junitxml=junit.xml -o junit_family=legacy
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload test report to Codecov
if: ${{ !cancelled() }}
 uses: codecov/test-results-action@v1
 with:
 token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 85fbde0

Please sign in to comment.