We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a916c1f commit 0eba2b4Copy full SHA for 0eba2b4
.github/workflows/unit-tests.yml
100644
100755
@@ -22,6 +22,6 @@ jobs:
22
poetry install --with test
23
- name: Test with pytest and check coverage
24
run: |
25
- coverage run -m --source=src pytest -v tests/unit_test.py
+ poetry run coverage run -m --source=src pytest -v tests/unit_test.py
26
coverage=$(coverage report -m | tail -1 | tail -c 4 | head -c 2)
27
if (( $coverage < 90 )); then exit 1; else echo "Coverage passed, ${coverage}%"; fi
0 commit comments