Skip to content

Commit

Permalink
Fix coverage reporting (#31)
Browse files Browse the repository at this point in the history
* Fix coverage reporting

* Don't report coverage for asset_ids files

* Change cov
  • Loading branch information
henriquegemignani authored Jun 24, 2023
1 parent 5383c06 commit e90a272
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,13 @@ jobs:

- name: Run Tests
run:
venv/bin/python -m pytest --cov --durations=100
venv/bin/python -m pytest --cov src --cov-report=xml --durations=100

- name: codecov
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
fail_ci_if_error: false
files: ./coverage.xml
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Expand Down
3 changes: 3 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ignore:
- tests/
- src/open_prime_rando/echoes/asset_ids/

0 comments on commit e90a272

Please sign in to comment.