@@ -244,7 +244,7 @@ jobs:
244244 macOS
245245 ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
246246 needs : build-context
247- if : needs.build-context.outputs.run-tests == 'true'
247+ if : needs.build-context.outputs.run-macos == 'true'
248248 strategy :
249249 fail-fast : false
250250 matrix :
@@ -269,7 +269,7 @@ jobs:
269269 Ubuntu
270270 ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
271271 needs : build-context
272- if : needs.build-context.outputs.run-tests == 'true'
272+ if : needs.build-context.outputs.run-ubuntu == 'true'
273273 strategy :
274274 fail-fast : false
275275 matrix :
@@ -285,7 +285,7 @@ jobs:
285285 runs-on : ${{ matrix.os }}
286286 timeout-minutes : 60
287287 needs : build-context
288- if : needs.build-context.outputs.run-tests == 'true'
288+ if : needs.build-context.outputs.run-ubuntu == 'true'
289289 strategy :
290290 fail-fast : false
291291 matrix :
@@ -338,7 +338,7 @@ jobs:
338338 build-android :
339339 name : Android (${{ matrix.arch }})
340340 needs : build-context
341- if : needs.build-context.outputs.run-tests == 'true'
341+ if : needs.build-context.outputs.run-android == 'true'
342342 timeout-minutes : 60
343343 strategy :
344344 fail-fast : false
@@ -360,15 +360,15 @@ jobs:
360360 build-wasi :
361361 name : ' WASI'
362362 needs : build-context
363- if : needs.build-context.outputs.run-tests == 'true'
363+ if : needs.build-context.outputs.run-wasi == 'true'
364364 uses : ./.github/workflows/reusable-wasi.yml
365365
366366 test-hypothesis :
367367 name : " Hypothesis tests on Ubuntu"
368368 runs-on : ubuntu-24.04
369369 timeout-minutes : 60
370370 needs : build-context
371- if : needs.build-context.outputs.run-tests == 'true'
371+ if : needs.build-context.outputs.run-ubuntu == 'true'
372372 env :
373373 OPENSSL_VER : 3.0.18
374374 PYTHONSTRICTEXTENSIONBUILD : 1
@@ -474,7 +474,7 @@ jobs:
474474 runs-on : ${{ matrix.os }}
475475 timeout-minutes : 60
476476 needs : build-context
477- if : needs.build-context.outputs.run-tests == 'true'
477+ if : needs.build-context.outputs.run-ubuntu == 'true'
478478 strategy :
479479 fail-fast : false
480480 matrix :
@@ -527,7 +527,7 @@ jobs:
527527 # ${{ '' } is a hack to nest jobs under the same sidebar category.
528528 name : Sanitizers${{ '' }} # zizmor: ignore[obfuscation]
529529 needs : build-context
530- if : needs.build-context.outputs.run-tests == 'true'
530+ if : needs.build-context.outputs.run-ubuntu == 'true'
531531 strategy :
532532 fail-fast : false
533533 matrix :
@@ -615,41 +615,29 @@ jobs:
615615 test-hypothesis,
616616 cifuzz,
617617 allowed-skips : >-
618+ ${{ !fromJSON(needs.build-context.outputs.run-docs) && 'check-docs,' || '' }}
618619 ${{
619- !fromJSON( needs.build-context.outputs.run-docs)
620+ needs.build-context.outputs.run-tests != 'true'
620621 && '
621- check-docs,
622+ check-autoconf-regen,
623+ check-generated-files,
622624 '
623625 || ''
624626 }}
627+ ${{ !fromJSON(needs.build-context.outputs.run-windows-tests) && 'build-windows,' || '' }}
628+ ${{ !fromJSON(needs.build-context.outputs.run-ci-fuzz) && 'cifuzz,' || '' }}
629+ ${{ !fromJSON(needs.build-context.outputs.run-macos) && 'build-macos,' || '' }}
625630 ${{
626- needs.build-context.outputs.run-tests != 'true'
631+ !fromJSON( needs.build-context.outputs.run-ubuntu)
627632 && '
628- check-autoconf-regen,
629- check-generated-files,
630- build-macos,
631633 build-ubuntu,
632634 build-ubuntu-ssltests,
633- build-android,
634- build-wasi,
635635 test-hypothesis,
636636 build-asan,
637637 build-san,
638638 '
639639 || ''
640640 }}
641- ${{
642- !fromJSON(needs.build-context.outputs.run-windows-tests)
643- && '
644- build-windows,
645- '
646- || ''
647- }}
648- ${{
649- !fromJSON(needs.build-context.outputs.run-ci-fuzz)
650- && '
651- cifuzz,
652- '
653- || ''
654- }}
641+ ${{ !fromJSON(needs.build-context.outputs.run-android) && 'build-android,' || '' }}
642+ ${{ !fromJSON(needs.build-context.outputs.run-wasi) && 'build-wasi,' || '' }}
655643 jobs : ${{ toJSON(needs) }}
0 commit comments