Skip to content

Commit

Permalink
Add coverage test
Browse files Browse the repository at this point in the history
  • Loading branch information
Juliette-Gerbaux committed Dec 11, 2024
1 parent b709fa2 commit 405de06
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ jobs:

- name: Test
run: |
pytest
pytest --cov --cov-report xml
- name: Archive code coverage results
uses: actions/upload-artifact@v3
with:
name: python-code-coverage-report
path: coverage.xml

- name: Check typing
run: |
Expand Down
2 changes: 2 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ black
isort
mypy
pytest
coverage
pytest-cov

0 comments on commit 405de06

Please sign in to comment.