diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 81e9baf..0d84e9c 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -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 diff --git a/dev-requirements.txt b/dev-requirements.txt index 2c430a2..0279c75 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,4 +1,5 @@ mypy<1 pre-commit<4 pytest<9 +pytest-cov<6 ruff<1