Skip to content

Commit

Permalink
feat(coverage): add coverage check on PR
Browse files Browse the repository at this point in the history
* Update dev-requirements.txt with pytest-cov library
* Update github workflow
  • Loading branch information
jonperron committed May 26, 2024
1 parent 49ef0d6 commit 6eea58d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ jobs:
pip install -e .
- name: Test with pytest
run: |
pip install pytest
pytest tests/
pytest --cov=navitia_client --cov-report=term --cov-fail-under=80
1 change: 1 addition & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
mypy<1
pre-commit<4
pytest<9
pytest-cov<6
ruff<1

0 comments on commit 6eea58d

Please sign in to comment.