@@ -241,7 +241,7 @@ jobs:
241241 macOS
242242 ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
243243 needs : build-context
244- if : needs.build-context.outputs.run-tests == 'true'
244+ if : needs.build-context.outputs.run-macos == 'true'
245245 strategy :
246246 fail-fast : false
247247 matrix :
@@ -266,7 +266,7 @@ jobs:
266266 Ubuntu
267267 ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
268268 needs : build-context
269- if : needs.build-context.outputs.run-tests == 'true'
269+ if : needs.build-context.outputs.run-ubuntu == 'true'
270270 strategy :
271271 fail-fast : false
272272 matrix :
@@ -282,7 +282,7 @@ jobs:
282282 runs-on : ${{ matrix.os }}
283283 timeout-minutes : 60
284284 needs : build-context
285- if : needs.build-context.outputs.run-tests == 'true'
285+ if : needs.build-context.outputs.run-ubuntu == 'true'
286286 strategy :
287287 fail-fast : false
288288 matrix :
@@ -335,7 +335,7 @@ jobs:
335335 build-android :
336336 name : Android (${{ matrix.arch }})
337337 needs : build-context
338- if : needs.build-context.outputs.run-tests == 'true'
338+ if : needs.build-context.outputs.run-android == 'true'
339339 timeout-minutes : 60
340340 strategy :
341341 fail-fast : false
@@ -357,15 +357,15 @@ jobs:
357357 build-wasi :
358358 name : ' WASI'
359359 needs : build-context
360- if : needs.build-context.outputs.run-tests == 'true'
360+ if : needs.build-context.outputs.run-wasi == 'true'
361361 uses : ./.github/workflows/reusable-wasi.yml
362362
363363 test-hypothesis :
364364 name : " Hypothesis tests on Ubuntu"
365365 runs-on : ubuntu-24.04
366366 timeout-minutes : 60
367367 needs : build-context
368- if : needs.build-context.outputs.run-tests == 'true'
368+ if : needs.build-context.outputs.run-ubuntu == 'true'
369369 env :
370370 OPENSSL_VER : 3.0.18
371371 PYTHONSTRICTEXTENSIONBUILD : 1
@@ -471,7 +471,7 @@ jobs:
471471 runs-on : ${{ matrix.os }}
472472 timeout-minutes : 60
473473 needs : build-context
474- if : needs.build-context.outputs.run-tests == 'true'
474+ if : needs.build-context.outputs.run-ubuntu == 'true'
475475 strategy :
476476 fail-fast : false
477477 matrix :
@@ -524,7 +524,7 @@ jobs:
524524 # ${{ '' } is a hack to nest jobs under the same sidebar category.
525525 name : Sanitizers${{ '' }} # zizmor: ignore[obfuscation]
526526 needs : build-context
527- if : needs.build-context.outputs.run-tests == 'true'
527+ if : needs.build-context.outputs.run-ubuntu == 'true'
528528 strategy :
529529 fail-fast : false
530530 matrix :
@@ -612,41 +612,29 @@ jobs:
612612 test-hypothesis,
613613 cifuzz,
614614 allowed-skips : >-
615+ ${{ !fromJSON(needs.build-context.outputs.run-docs) && 'check-docs,' || '' }}
615616 ${{
616- !fromJSON( needs.build-context.outputs.run-docs)
617+ needs.build-context.outputs.run-tests != 'true'
617618 && '
618- check-docs,
619+ check-autoconf-regen,
620+ check-generated-files,
619621 '
620622 || ''
621623 }}
624+ ${{ !fromJSON(needs.build-context.outputs.run-windows-tests) && 'build-windows,' || '' }}
625+ ${{ !fromJSON(needs.build-context.outputs.run-ci-fuzz) && 'cifuzz,' || '' }}
626+ ${{ !fromJSON(needs.build-context.outputs.run-macos) && 'build-macos,' || '' }}
622627 ${{
623- needs.build-context.outputs.run-tests != 'true'
628+ !fromJSON( needs.build-context.outputs.run-ubuntu)
624629 && '
625- check-autoconf-regen,
626- check-generated-files,
627- build-macos,
628630 build-ubuntu,
629631 build-ubuntu-ssltests,
630- build-android,
631- build-wasi,
632632 test-hypothesis,
633633 build-asan,
634634 build-san,
635635 '
636636 || ''
637637 }}
638- ${{
639- !fromJSON(needs.build-context.outputs.run-windows-tests)
640- && '
641- build-windows,
642- '
643- || ''
644- }}
645- ${{
646- !fromJSON(needs.build-context.outputs.run-ci-fuzz)
647- && '
648- cifuzz,
649- '
650- || ''
651- }}
638+ ${{ !fromJSON(needs.build-context.outputs.run-android) && 'build-android,' || '' }}
639+ ${{ !fromJSON(needs.build-context.outputs.run-wasi) && 'build-wasi,' || '' }}
652640 jobs : ${{ toJSON(needs) }}
0 commit comments