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:
2525 run : make check
2626 continue-on-error : true
2727 - name : Upload test log
28- if : failure()
28+ if : steps.make-check.outcome == ' failure'
2929 uses : actions/upload-artifact@v4
3030 with :
31- name : test-suite-log
31+ name : test-suite-log-linux-${{ matrix.compiler }}
3232 path : test-suite.log
3333 retention-days : 5
3434 - name : Generate corpus
3535 run : make generate_corpus
36+ - name : Fail if tests failed
37+ if : steps.make-check.outcome == 'failure'
38+ run : exit 1
3639 macos :
3740 runs-on : macos-latest
3841 strategy :
@@ -58,11 +61,14 @@ jobs:
5861 if : steps.make-check.outcome == 'failure'
5962 uses : actions/upload-artifact@v4
6063 with :
61- name : test-suite-log
64+ name : test-suite-log-macos-${{ matrix.compiler }}
6265 path : test-suite.log
6366 retention-days : 5
6467 - name : Generate corpus
6568 run : make generate_corpus
69+ - name : Fail if tests failed
70+ if : steps.make-check.outcome == 'failure'
71+ run : exit 1
6672 windows :
6773 runs-on : windows-latest
6874 defaults :
9298 if : steps.make-check.outcome == 'failure'
9399 uses : actions/upload-artifact@v4
94100 with :
95- name : test-suite-log
101+ name : test-suite-log-windows
96102 path : test-suite.log
97103 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