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 @@ -562,3 +562,60 @@ jobs:
562562 run : make pythoninfo
563563 - name : Tests
564564 run : xvfb-run make buildbottest TESTOPTS="-j4 -uall,-cpu"
565+
566+ all-required-green : # This job does nothing and is only used for the branch protection
567+ name : All required checks pass
568+ if : always()
569+
570+ needs :
571+ - check_source # Transitive dependency, needed to access `run_tests` value
572+ - check-docs
573+ - check_generated_files
574+ - build_win32
575+ - build_win_amd64
576+ - build_macos
577+ - build_ubuntu
578+ - build_ubuntu_ssltests
579+ - test_hypothesis
580+ - build_asan
581+
582+ runs-on : ubuntu-latest
583+
584+ steps :
585+ - name : Check whether the needed jobs succeeded or failed
586+ uses : re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe
587+ with :
588+ allowed-failures : >-
589+ build_macos,
590+ build_ubuntu_ssltests,
591+ build_win32,
592+ test_hypothesis,
593+ allowed-skips : >-
594+ ${{
595+ !fromJSON(needs.check_source.outputs.run-docs)
596+ && '
597+ check-docs,
598+ '
599+ || ''
600+ }}
601+ ${{
602+ needs.check_source.outputs.run_tests != 'true'
603+ && '
604+ check_generated_files,
605+ build_win32,
606+ build_win_amd64,
607+ build_macos,
608+ build_ubuntu,
609+ build_ubuntu_ssltests,
610+ build_asan,
611+ '
612+ || ''
613+ }}
614+ ${{
615+ !fromJSON(needs.check_source.outputs.run_hypothesis)
616+ && '
617+ test_hypothesis,
618+ '
619+ || ''
620+ }}
621+ jobs : ${{ toJSON(needs) }}
You can’t perform that action at this time.
0 commit comments