43
43
if : fromJSON(needs.build-context.outputs.run-docs)
44
44
uses : ./.github/workflows/reusable-docs.yml
45
45
46
- check_abi :
46
+ check-abi :
47
47
name : ' Check if the ABI has changed'
48
48
runs-on : ubuntu-22.04
49
49
needs : build-context
88
88
name : abi-data
89
89
path : ./Doc/data/*.abi
90
90
91
- check_autoconf_regen :
91
+ check-autoconf-regen :
92
92
name : ' Check if Autoconf files are up to date'
93
93
# Don't use ubuntu-latest but a specific version to make the job
94
94
# reproducible: to get the same tools versions (autoconf, aclocal, ...)
@@ -131,7 +131,7 @@ jobs:
131
131
exit 1
132
132
fi
133
133
134
- check_generated_files :
134
+ check-generated-files :
135
135
name : ' Check if generated files are up to date'
136
136
# Don't use ubuntu-latest but a specific version to make the job
137
137
# reproducible: to get the same tools versions (autoconf, aclocal, ...)
@@ -195,7 +195,7 @@ jobs:
195
195
if : github.event_name == 'pull_request' # $GITHUB_EVENT_NAME
196
196
run : make check-c-globals
197
197
198
- build_windows :
198
+ build-windows :
199
199
name : >-
200
200
Windows
201
201
${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
@@ -215,7 +215,7 @@ jobs:
215
215
arch : ${{ matrix.arch }}
216
216
free-threading : ${{ matrix.free-threading }}
217
217
218
- build_windows_msi :
218
+ build-windows-msi :
219
219
name : >- # ${{ '' } is a hack to nest jobs under the same sidebar category
220
220
Windows MSI${{ '' }}
221
221
needs : build-context
@@ -230,7 +230,7 @@ jobs:
230
230
with :
231
231
arch : ${{ matrix.arch }}
232
232
233
- build_macos :
233
+ build-macos :
234
234
name : >-
235
235
macOS
236
236
${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
@@ -264,7 +264,7 @@ jobs:
264
264
free-threading : ${{ matrix.free-threading }}
265
265
os : ${{ matrix.os }}
266
266
267
- build_ubuntu :
267
+ build-ubuntu :
268
268
name : >-
269
269
Ubuntu
270
270
${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
@@ -280,7 +280,7 @@ jobs:
280
280
config_hash : ${{ needs.build-context.outputs.config-hash }}
281
281
free-threading : ${{ matrix.free-threading }}
282
282
283
- build_ubuntu_ssltests :
283
+ build-ubuntu-ssltests :
284
284
name : ' Ubuntu SSL tests with OpenSSL'
285
285
runs-on : ${{ matrix.os }}
286
286
timeout-minutes : 60
@@ -341,7 +341,7 @@ jobs:
341
341
- name : SSL tests
342
342
run : ./python Lib/test/ssltests.py
343
343
344
- test_hypothesis :
344
+ test-hypothesis :
345
345
name : " Hypothesis tests on Ubuntu"
346
346
runs-on : ubuntu-24.04
347
347
timeout-minutes : 60
@@ -455,8 +455,7 @@ jobs:
455
455
name : hypothesis-example-db
456
456
path : .hypothesis/examples/
457
457
458
-
459
- build_asan :
458
+ build-asan :
460
459
name : ' Address sanitizer'
461
460
runs-on : ubuntu-22.04
462
461
timeout-minutes : 60
@@ -519,7 +518,7 @@ jobs:
519
518
- name : Tests
520
519
run : xvfb-run make buildbottest TESTOPTS="-j4 -uall,-cpu"
521
520
522
- build_tsan :
521
+ build-tsan :
523
522
name : >-
524
523
Thread sanitizer
525
524
${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
@@ -536,32 +535,31 @@ jobs:
536
535
537
536
all-required-green : # This job does nothing and is only used for the branch protection
538
537
name : All required checks pass
539
- if : always()
540
-
538
+ runs-on : ubuntu-latest
539
+ timeout-minutes : 5
541
540
needs :
542
541
- build-context # Transitive dependency, needed to access `run-tests` value
543
542
- check-docs
544
- - check_autoconf_regen
545
- - check_generated_files
546
- - build_macos
547
- - build_ubuntu
548
- - build_ubuntu_ssltests
549
- - build_windows
550
- - build_windows_msi
551
- - test_hypothesis
552
- - build_asan
553
- - build_tsan
554
-
555
- runs-on : ubuntu-latest
543
+ - check-autoconf-regen
544
+ - check-generated-files
545
+ - build-windows
546
+ - build-windows-msi
547
+ - build-macos
548
+ - build-ubuntu
549
+ - build-ubuntu-ssltests
550
+ - test-hypothesis
551
+ - build-asan
552
+ - build-tsan
553
+ if : always()
556
554
557
555
steps :
558
556
- name : Check whether the needed jobs succeeded or failed
559
557
uses : re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe
560
558
with :
561
559
allowed-failures : >-
562
- build_ubuntu_ssltests ,
563
- build_windows_msi ,
564
- test_hypothesis ,
560
+ build-windows-msi ,
561
+ build-ubuntu-ssltests ,
562
+ test-hypothesis ,
565
563
allowed-skips : >-
566
564
${{
567
565
!fromJSON(needs.build-context.outputs.run-docs)
@@ -573,21 +571,21 @@ jobs:
573
571
${{
574
572
needs.build-context.outputs.run-tests != 'true'
575
573
&& '
576
- check_autoconf_regen ,
577
- check_generated_files ,
578
- build_macos ,
579
- build_ubuntu ,
580
- build_ubuntu_ssltests ,
581
- build_asan ,
582
- build_tsan ,
583
- test_hypothesis ,
574
+ check-autoconf-regen ,
575
+ check-generated-files ,
576
+ build-macos ,
577
+ build-ubuntu ,
578
+ build-ubuntu-ssltests ,
579
+ test-hypothesis ,
580
+ build-asan ,
581
+ build-tsan ,
584
582
'
585
583
|| ''
586
584
}}
587
585
${{
588
586
!fromJSON(needs.build-context.outputs.run-windows-tests)
589
587
&& '
590
- build_windows ,
588
+ build-windows ,
591
589
'
592
590
|| ''
593
591
}}
0 commit comments