File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -25,14 +25,17 @@ jobs:
25
25
run : make check
26
26
continue-on-error : true
27
27
- name : Upload test log
28
- if : failure()
28
+ if : steps.make-check.outcome == ' failure'
29
29
uses : actions/upload-artifact@v4
30
30
with :
31
- name : test-suite-log
31
+ name : test-suite-log-linux-${{ matrix.compiler }}
32
32
path : test-suite.log
33
33
retention-days : 5
34
34
- name : Generate corpus
35
35
run : make generate_corpus
36
+ - name : Fail if tests failed
37
+ if : steps.make-check.outcome == 'failure'
38
+ run : exit 1
36
39
macos :
37
40
runs-on : macos-latest
38
41
strategy :
@@ -58,11 +61,14 @@ jobs:
58
61
if : steps.make-check.outcome == 'failure'
59
62
uses : actions/upload-artifact@v4
60
63
with :
61
- name : test-suite-log
64
+ name : test-suite-log-macos-${{ matrix.compiler }}
62
65
path : test-suite.log
63
66
retention-days : 5
64
67
- name : Generate corpus
65
68
run : make generate_corpus
69
+ - name : Fail if tests failed
70
+ if : steps.make-check.outcome == 'failure'
71
+ run : exit 1
66
72
windows :
67
73
runs-on : windows-latest
68
74
defaults :
92
98
if : steps.make-check.outcome == 'failure'
93
99
uses : actions/upload-artifact@v4
94
100
with :
95
- name : test-suite-log
101
+ name : test-suite-log-windows
96
102
path : test-suite.log
97
103
retention-days : 5
104
+ - name : Fail if tests failed
105
+ if : steps.make-check.outcome == 'failure'
106
+ run : exit 1
You can’t perform that action at this time.
0 commit comments