Skip to content

Commit

Permalink
ci: upload code coverage in builds
Browse files Browse the repository at this point in the history
  • Loading branch information
kmontag committed Jul 26, 2024
1 parent 4b07d27 commit d8d7fc2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,13 @@ jobs:

- run: python -m pip install hatch
- run: hatch fmt --check
- run: hatch test
- run: hatch test --cover
- run: hatch run types:check

- uses: codecov/codecov-action@v1
# We don't need to upload coverage more than once.
if: matrix.python-version == '3.12'

release:
name: "publish to GitHub and PyPi"
runs-on: ubuntu-latest
Expand Down

0 comments on commit d8d7fc2

Please sign in to comment.