Skip to content

Commit f4e2964

Browse files
Fiona-Watersopenshift-merge-robot
authored andcommitted
updating unit-test.yml
1 parent 6de9536 commit f4e2964

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/unit-tests.yml

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ jobs:
2222
poetry install --with test
2323
- name: Test with pytest and check coverage
2424
run: |
25-
coverage run -m --source=src pytest -v tests/unit_test.py
25+
poetry run coverage run -m --source=src pytest -v tests/unit_test.py
2626
coverage=$(coverage report -m | tail -1 | tail -c 4 | head -c 2)
2727
if (( $coverage < 90 )); then exit 1; else echo "Coverage passed, ${coverage}%"; fi

0 commit comments

Comments
 (0)