Skip to content

Commit

Permalink
Add codecov for testing coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaireDons committed Oct 1, 2024
1 parent c9d846e commit 917ea0e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ jobs:
run: hatch run test
- name: Verify that we can build the package
run: hatch build
- name: Test coverage
run: pytest --cov --cov-report=xml
shell: bash -l {0}
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
use_oidc: true

lint:
name: Linting build
Expand All @@ -57,4 +64,5 @@ jobs:
run: |
python3 -m pip install --upgrade pip hatch
- name: Check style against standards
run: hatch run lint
run: hatch run lint

0 comments on commit 917ea0e

Please sign in to comment.