Skip to content

Commit

Permalink
Adding coverage to test action
Browse files Browse the repository at this point in the history
  • Loading branch information
noamgat committed Oct 17, 2023
1 parent 8b2eead commit aa15c75
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,14 @@ jobs:
# And finally run tests. I'm using pytest and all my pytest config is in my `pyproject.toml`
# so this line is super-simple. But it could be as complex as you need.
- run: poetry run pytest

# Calculate coverage xml after running tests
- run: poetry run coverage xml

# Upload coverage xml to Codecov
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}


0 comments on commit aa15c75

Please sign in to comment.