@@ -238,7 +238,7 @@ jobs:
238
238
timeout-minutes : 15
239
239
runs-on : ubuntu-latest
240
240
# Size Check will error out outside of the context of a PR
241
- if : ${{ github.event_name == 'pull_request' }} || ${{ startsWith(github.ref, 'refs/heads/master/') }}
241
+ if : github.event_name == 'pull_request' || startsWith(github.ref, 'refs/heads/master/')
242
242
steps :
243
243
- name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
244
244
uses : actions/checkout@v3
@@ -365,10 +365,10 @@ jobs:
365
365
job_unit_test :
366
366
name : Test (Node ${{ matrix.node }})
367
367
needs : [job_get_metadata, job_build]
368
- continue-on-error : true
369
368
timeout-minutes : 30
370
369
runs-on : ubuntu-latest
371
370
strategy :
371
+ fail-fast : false
372
372
matrix :
373
373
node : [8, 10, 12, 14, 16, 18]
374
374
steps :
@@ -403,10 +403,10 @@ jobs:
403
403
name : Test @sentry/nextjs on (Node ${{ matrix.node }})
404
404
needs : [job_get_metadata, job_build]
405
405
# Currently always runs because it is required for merging PRs
406
- continue-on-error : true
407
406
timeout-minutes : 30
408
407
runs-on : ubuntu-latest
409
408
strategy :
409
+ fail-fast : false
410
410
matrix :
411
411
node : [10, 12, 14, 16, 18]
412
412
steps :
@@ -441,10 +441,10 @@ jobs:
441
441
name : Test @sentry/ember
442
442
needs : [job_get_metadata, job_build]
443
443
if : needs.job_get_metadata.outputs.changed_ember == 'true' || github.event_name != 'pull_request'
444
- continue-on-error : true
445
444
timeout-minutes : 10
446
445
runs-on : ubuntu-latest
447
446
strategy :
447
+ fail-fast : false
448
448
matrix :
449
449
scenario : [ember-release, embroider-optimized, ember-4.0]
450
450
steps :
@@ -537,8 +537,8 @@ jobs:
537
537
if : needs.job_get_metadata.outputs.changed_browser == 'true' || github.event_name != 'pull_request'
538
538
runs-on : ubuntu-latest
539
539
timeout-minutes : 10
540
- continue-on-error : true
541
540
strategy :
541
+ fail-fast : false
542
542
matrix :
543
543
browser :
544
544
- ChromeHeadless
@@ -576,7 +576,6 @@ jobs:
576
576
needs : [job_get_metadata, job_build]
577
577
runs-on : ubuntu-latest
578
578
timeout-minutes : 5
579
- continue-on-error : true
580
579
steps :
581
580
- name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
582
581
uses : actions/checkout@v3
@@ -611,8 +610,8 @@ jobs:
611
610
# Currently always runs because it is required for merging PRs
612
611
runs-on : ubuntu-latest
613
612
timeout-minutes : 10
614
- continue-on-error : true
615
613
strategy :
614
+ fail-fast : false
616
615
matrix :
617
616
node : [10, 12, 14, 16, 18]
618
617
steps :
@@ -647,8 +646,8 @@ jobs:
647
646
if : needs.job_get_metadata.outputs.changed_remix == 'true' || github.event_name != 'pull_request'
648
647
runs-on : ubuntu-latest
649
648
timeout-minutes : 10
650
- continue-on-error : true
651
649
strategy :
650
+ fail-fast : false
652
651
matrix :
653
652
node : [14, 16, 18]
654
653
steps :
@@ -684,7 +683,6 @@ jobs:
684
683
needs : [job_get_metadata, job_build]
685
684
runs-on : ubuntu-latest
686
685
timeout-minutes : 10
687
- continue-on-error : true
688
686
steps :
689
687
- name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
690
688
uses : actions/checkout@v3
@@ -712,3 +710,24 @@ jobs:
712
710
run : |
713
711
cd packages/e2e-tests
714
712
yarn test:e2e
713
+
714
+ job_required_tests :
715
+ name : All required tests passed or skipped
716
+ needs :
717
+ [
718
+ job_unit_test,
719
+ job_nextjs_integration_test,
720
+ job_node_integration_tests,
721
+ job_browser_playwright_tests,
722
+ job_browser_integration_tests,
723
+ job_remix_integration_tests,
724
+ job_ember_tests,
725
+ ]
726
+ # Always run this, even if a dependent job failed
727
+ if : always()
728
+ runs-on : ubuntu-latest
729
+ steps :
730
+ - name : Check for failures
731
+ if : contains(needs.*.result, 'failure')
732
+ run : |
733
+ echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1
0 commit comments