File tree Expand file tree Collapse file tree 1 file changed +57
-0
lines changed Expand file tree Collapse file tree 1 file changed +57
-0
lines changed Original file line number Diff line number Diff line change @@ -439,3 +439,60 @@ jobs:
439
439
run : make pythoninfo
440
440
- name : Tests
441
441
run : xvfb-run make buildbottest TESTOPTS="-j4 -uall,-cpu"
442
+
443
+ all-required-green : # This job does nothing and is only used for the branch protection
444
+ name : All required checks pass
445
+ if : always()
446
+
447
+ needs :
448
+ - check_source # Transitive dependency, needed to access `run_tests` value
449
+ - check-docs
450
+ - check_generated_files
451
+ - build_win32
452
+ - build_win_amd64
453
+ - build_macos
454
+ - build_ubuntu
455
+ - build_ubuntu_ssltests
456
+ - test_hypothesis
457
+ - build_asan
458
+
459
+ runs-on : ubuntu-latest
460
+
461
+ steps :
462
+ - name : Check whether the needed jobs succeeded or failed
463
+ uses : re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe
464
+ with :
465
+ allowed-failures : >-
466
+ build_macos,
467
+ build_ubuntu_ssltests,
468
+ build_win32,
469
+ test_hypothesis,
470
+ allowed-skips : >-
471
+ ${{
472
+ !fromJSON(needs.check_source.outputs.run-docs)
473
+ && '
474
+ check-docs,
475
+ '
476
+ || ''
477
+ }}
478
+ ${{
479
+ needs.check_source.outputs.run_tests != 'true'
480
+ && '
481
+ check_generated_files,
482
+ build_win32,
483
+ build_win_amd64,
484
+ build_macos,
485
+ build_ubuntu,
486
+ build_ubuntu_ssltests,
487
+ build_asan,
488
+ '
489
+ || ''
490
+ }}
491
+ ${{
492
+ !fromJSON(needs.check_source.outputs.run_hypothesis)
493
+ && '
494
+ test_hypothesis,
495
+ '
496
+ || ''
497
+ }}
498
+ jobs : ${{ toJSON(needs) }}
You can’t perform that action at this time.
0 commit comments