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 1810781 commit 7e1e4b6Copy full SHA for 7e1e4b6
.github/workflows/pytest.yml
@@ -47,7 +47,7 @@ jobs:
47
48
- name: Test with pytest
49
id: pytest
50
- continue-on-error: true
+ continue-on-error: false
51
run: |
52
export DISPLAY=:99
53
Xvfb :99 -screen 0 1024x768x16 &
@@ -124,6 +124,11 @@ jobs:
124
125
- name: Check coverage
126
127
+ # Check if pytest job failed
128
+ if [ "${{ needs.pytest.result }}" == "failure" ]; then
129
+ echo "Pytest failed - failing coverage check"
130
+ exit 1
131
+ fi
132
coverage report --fail-under=40
133
134
add_coverage_to_pullrequest:
0 commit comments