Skip to content

Commit

Permalink
Code cov publish errors (#122)
Browse files Browse the repository at this point in the history
* update codecove action

* update where coverage file is stored
  • Loading branch information
barrust committed Sep 5, 2022
1 parent ecbb34a commit ce173de
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/python-package.yml
Expand Up @@ -33,9 +33,10 @@ jobs:
- name: Test with pytest
run: |
# Run tests while also generating coverage statistics
pytest --cov=./ --cov-report=xml
pytest --cov . --cov-report xml:/home/runner/coverage.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
file: /home/runner/coverage.xml
fail_ci_if_error: true
verbose: true

0 comments on commit ce173de

Please sign in to comment.