File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -259,3 +259,24 @@ jobs:
259259 run : |
260260 $wheel = Get-ChildItem dist\*.whl | Select-Object -ExpandProperty FullName -First 1
261261 tox --installpkg $wheel -e windows --sitepackages
262+
263+ # Single stable check for branch protection. Skipped matrix jobs don't
264+ # produce per-version check runs, so matrix-suffixed required checks hang
265+ # as "Expected" on PRs that skip the tests; require this job instead.
266+ required_checks :
267+ name : Python tests
268+ needs :
269+ - pre_job
270+ - build
271+ - unit_test
272+ - unit_test_eol_python
273+ - cryptography
274+ - cryptography_eol_python
275+ - postgres
276+ - windows
277+ if : always()
278+ runs-on : ubuntu-latest
279+ steps :
280+ - name : Fail if any needed job failed or was cancelled
281+ if : contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
282+ run : exit 1
You can’t perform that action at this time.
0 commit comments