We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50301aa commit bc3ac08Copy full SHA for bc3ac08
test/action.yaml
@@ -68,8 +68,8 @@ runs:
68
elif [[ -f setup.py ]]; then
69
python setup.py test -- ${{ inputs.test-flags }}
70
else
71
- pip install pytest pytest-cov
72
- pytest ${{ inputs.test-flags }}
+ echo "::error::pytest not found in the dependencies, cannot run tests"
+ exit 1
73
fi
74
# If we do have a poetry.lock, we use a poetry based workflow
75
- name: install poetry
@@ -92,7 +92,8 @@ runs:
92
if poetry show pytest &>/dev/null; then
93
poetry run pytest ${{ inputs.test-flags }}
94
95
- echo "::warning::pytest not found in poetry.lock"
+ echo "::error::pytest not found in poetry.lock, cannot run tests"
96
97
98
- name: Upload coverage
99
if: inputs.upload-coverage != 'false'
0 commit comments