@@ -3,6 +3,11 @@ name: CI
3
3
on :
4
4
workflow_dispatch :
5
5
pull_request :
6
+ types :
7
+ - opened
8
+ - synchronize
9
+ - reopened
10
+ - ready_for_review
6
11
push :
7
12
branches :
8
13
- master
27
32
# This is the "main" test suite, which tests a large number of different
28
33
# versions of default compilers and Python versions in GitHub Actions.
29
34
standard :
35
+ if : github.event.pull_request.draft == false
30
36
strategy :
31
37
fail-fast : false
32
38
matrix :
@@ -216,8 +222,10 @@ jobs:
216
222
pytest tests/extra_setuptools
217
223
if : matrix.runs-on != 'windows-2022'
218
224
225
+
219
226
manylinux :
220
227
name : Manylinux on 🐍 3.13t • GIL
228
+ if : github.event.pull_request.draft == false
221
229
runs-on : ubuntu-latest
222
230
timeout-minutes : 40
223
231
container : quay.io/pypa/musllinux_1_2_x86_64:latest
@@ -242,6 +250,7 @@ jobs:
242
250
run : cmake --build --preset testsvenv -t pytest
243
251
244
252
deadsnakes :
253
+ if : github.event.pull_request.draft == false
245
254
strategy :
246
255
fail-fast : false
247
256
matrix :
@@ -318,6 +327,7 @@ jobs:
318
327
319
328
# Testing on clang using the excellent silkeh clang docker images
320
329
clang :
330
+ if : github.event.pull_request.draft == false
321
331
runs-on : ubuntu-latest
322
332
strategy :
323
333
fail-fast : false
@@ -438,6 +448,7 @@ jobs:
438
448
439
449
# Testing on Ubuntu + NVHPC (previous PGI) compilers, which seems to require more workarounds
440
450
ubuntu-nvhpc7 :
451
+ if : github.event.pull_request.draft == false
441
452
runs-on : ubuntu-22.04
442
453
name : " 🐍 3 • NVHPC 23.5 • C++17 • x64"
443
454
@@ -489,6 +500,7 @@ jobs:
489
500
490
501
# Testing on GCC using the GCC docker images (only recent images supported)
491
502
gcc :
503
+ if : github.event.pull_request.draft == false
492
504
runs-on : ubuntu-latest
493
505
strategy :
494
506
fail-fast : false
@@ -557,6 +569,7 @@ jobs:
557
569
558
570
# Testing on ICC using the oneAPI apt repo
559
571
icc :
572
+ if : github.event.pull_request.draft == false
560
573
runs-on : ubuntu-22.04
561
574
562
575
name : " 🐍 3 • ICC latest • x64"
@@ -652,6 +665,7 @@ jobs:
652
665
653
666
# Testing on CentOS (manylinux uses a centos base).
654
667
centos :
668
+ if : github.event.pull_request.draft == false
655
669
runs-on : ubuntu-latest
656
670
strategy :
657
671
fail-fast : false
@@ -713,6 +727,7 @@ jobs:
713
727
714
728
# This tests an "install" with the CMake tools
715
729
install-classic :
730
+ if : github.event.pull_request.draft == false
716
731
name : " 🐍 3.9 • Debian • x86 • Install"
717
732
runs-on : ubuntu-latest
718
733
container : i386/debian:bullseye
@@ -757,6 +772,7 @@ jobs:
757
772
# This verifies that the documentation is not horribly broken, and does a
758
773
# basic validation check on the SDist.
759
774
doxygen :
775
+ if : github.event.pull_request.draft == false
760
776
name : " Documentation build test"
761
777
runs-on : ubuntu-latest
762
778
@@ -791,6 +807,7 @@ jobs:
791
807
diff -rq $installed ./pybind11
792
808
793
809
win32 :
810
+ if : github.event.pull_request.draft == false
794
811
strategy :
795
812
fail-fast : false
796
813
matrix :
@@ -846,6 +863,7 @@ jobs:
846
863
run : cmake --build build -t pytest
847
864
848
865
win32-debug :
866
+ if : github.event.pull_request.draft == false
849
867
strategy :
850
868
fail-fast : false
851
869
matrix :
@@ -897,6 +915,7 @@ jobs:
897
915
898
916
899
917
windows-2022 :
918
+ if : github.event.pull_request.draft == false
900
919
strategy :
901
920
fail-fast : false
902
921
matrix :
@@ -956,6 +975,7 @@ jobs:
956
975
run : cmake --build build_partial --target pytest
957
976
958
977
mingw :
978
+ if : github.event.pull_request.draft == false
959
979
name : " 🐍 3 • windows-latest • ${{ matrix.sys }}"
960
980
runs-on : windows-latest
961
981
defaults :
@@ -1055,6 +1075,7 @@ jobs:
1055
1075
run : PYTHONHOME=/${{matrix.sys}} PYTHONPATH=/${{matrix.sys}} cmake --build build3 --target test_cmake_build
1056
1076
1057
1077
windows_clang :
1078
+ if : github.event.pull_request.draft == false
1058
1079
1059
1080
strategy :
1060
1081
matrix :
@@ -1124,6 +1145,7 @@ jobs:
1124
1145
run : git clean -fdx
1125
1146
1126
1147
macos_brew_install_llvm :
1148
+ if : github.event.pull_request.draft == false
1127
1149
name : " macos-13 • brew install llvm"
1128
1150
runs-on : macos-13
1129
1151
0 commit comments