Skip to content

Commit 4edfba0

Browse files
committed
Ensure that test script is re-run on failure (fixes intended behavior)
1 parent af33bbc commit 4edfba0

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/test-install.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ jobs:
265265
./run_mpi.sh
266266
267267
'
268+
continue-on-error: true
268269
- name: Re-run test script failures (1st)
269270
if: ${{ steps.test1_script.outcome == 'failure' }}
270271
run: 'yggtest --ci --cov-append ${{ matrix.test-flags1 }} --last-failed --last-failed-no-failures=none
@@ -292,6 +293,7 @@ jobs:
292293
./run_mpi.sh
293294
294295
'
296+
continue-on-error: true
295297
- name: Re-run test script failures (2nd)
296298
if: ${{ steps.test2_script.outcome == 'failure' }}
297299
run: 'yggtest --ci --cov-append ${{ matrix.test-flags2 }} --last-failed --last-failed-no-failures=none
@@ -590,6 +592,7 @@ jobs:
590592
./run_mpi.sh
591593
592594
'
595+
continue-on-error: true
593596
- name: Re-run test script failures (1st)
594597
if: ${{ steps.test1_script.outcome == 'failure' }}
595598
run: 'yggtest --ci --cov-append ${{ matrix.test-flags1 }} --last-failed --last-failed-no-failures=none
@@ -617,6 +620,7 @@ jobs:
617620
./run_mpi.sh
618621
619622
'
623+
continue-on-error: true
620624
- name: Re-run test script failures (2nd)
621625
if: ${{ steps.test2_script.outcome == 'failure' }}
622626
run: 'yggtest --ci --cov-append ${{ matrix.test-flags2 }} --last-failed --last-failed-no-failures=none
@@ -891,6 +895,7 @@ jobs:
891895
./run_mpi.sh
892896
893897
'
898+
continue-on-error: true
894899
- name: Re-run test script failures (1st)
895900
if: ${{ steps.test1_script.outcome == 'failure' }}
896901
run: 'yggtest --ci --cov-append ${{ matrix.test-flags1 }} --last-failed --last-failed-no-failures=none
@@ -918,6 +923,7 @@ jobs:
918923
./run_mpi.sh
919924
920925
'
926+
continue-on-error: true
921927
- name: Re-run test script failures (2nd)
922928
if: ${{ steps.test2_script.outcome == 'failure' }}
923929
run: 'yggtest --ci --cov-append ${{ matrix.test-flags2 }} --last-failed --last-failed-no-failures=none
@@ -1194,6 +1200,7 @@ jobs:
11941200
./run_mpi.sh
11951201
11961202
'
1203+
continue-on-error: true
11971204
- name: Re-run test script failures (1st)
11981205
if: ${{ steps.test1_script.outcome == 'failure' }}
11991206
run: 'yggtest --ci --cov-append ${{ matrix.test-flags1 }} --last-failed --last-failed-no-failures=none
@@ -1221,6 +1228,7 @@ jobs:
12211228
./run_mpi.sh
12221229
12231230
'
1231+
continue-on-error: true
12241232
- name: Re-run test script failures (2nd)
12251233
if: ${{ steps.test2_script.outcome == 'failure' }}
12261234
run: 'yggtest --ci --cov-append ${{ matrix.test-flags2 }} --last-failed --last-failed-no-failures=none
@@ -1496,6 +1504,7 @@ jobs:
14961504
./run_mpi.sh
14971505
14981506
'
1507+
continue-on-error: true
14991508
- name: Re-run test script failures (1st)
15001509
if: ${{ steps.test1_script.outcome == 'failure' }}
15011510
run: 'yggtest --ci --cov-append ${{ matrix.test-flags1 }} --last-failed --last-failed-no-failures=none
@@ -1523,6 +1532,7 @@ jobs:
15231532
./run_mpi.sh
15241533
15251534
'
1535+
continue-on-error: true
15261536
- name: Re-run test script failures (2nd)
15271537
if: ${{ steps.test2_script.outcome == 'failure' }}
15281538
run: 'yggtest --ci --cov-append ${{ matrix.test-flags2 }} --last-failed --last-failed-no-failures=none

utils/test-install-base.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ jobs:
276276
run: |
277277
yggtest --ci --cov-append ${{ matrix.test-flags1 }}
278278
./run_mpi.sh
279+
continue-on-error: true
279280
- name: Re-run test script failures (1st)
280281
if: ${{ steps.test1_script.outcome == 'failure' }}
281282
run: |
@@ -295,6 +296,7 @@ jobs:
295296
run: |
296297
yggtest --ci --cov-append ${{ matrix.test-flags2 }}
297298
./run_mpi.sh
299+
continue-on-error: true
298300
- name: Re-run test script failures (2nd)
299301
if: ${{ steps.test2_script.outcome == 'failure' }}
300302
run: |

0 commit comments

Comments
 (0)