File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 47
47
48
48
- name : Test with pytest
49
49
id : pytest
50
+ continue-on-error : true
50
51
run : |
51
52
export DISPLAY=:99
52
53
Xvfb :99 -screen 0 1024x768x16 &
77
78
if : ${{ always() }}
78
79
79
80
upload_coverage_to_coveralls :
80
- if : github.event_name == 'push' && github.ref == 'refs/heads/master'
81
+ if : ( github.event_name == 'push' && github.ref == 'refs/heads/master') && (success() || failure())
81
82
runs-on : ubuntu-latest
82
83
needs : pytest
83
84
99
100
# TODO: create a badge that presents the result of the Upload coverage xml report step
100
101
101
102
check_coverage :
103
+ if : success() || failure()
102
104
runs-on : ubuntu-latest
103
105
needs : pytest # This will ensure this job runs after 'pytest'
104
106
@@ -125,7 +127,7 @@ jobs:
125
127
coverage report --fail-under=32
126
128
127
129
add_coverage_to_pullrequest :
128
- if : github.event_name == 'pull_request'
130
+ if : github.event_name == 'pull_request' && (success() || failure())
129
131
runs-on : ubuntu-latest
130
132
needs : pytest # This will ensure this job runs after 'pytest'
131
133
You can’t perform that action at this time.
0 commit comments