11name : CI
22
3- on : [push, pull_request]
3+ on : [push, pull_request, workflow_dispatch ]
44
55jobs :
66 Windows :
99 strategy :
1010 fail-fast : false
1111 matrix :
12- python : ['3.8', '3.9', '3. 10', '3.11', '3.12', '3.13', '3.14', '3.14t']
12+ python : ['3.10', '3.11', '3.12', '3.13', '3.14', '3.14t']
1313
1414 steps :
1515 - name : Checkout
3535 strategy :
3636 fail-fast : false
3737 matrix :
38- python : ['3.8', '3.9', '3. 10', '3.11', '3.12', '3.13', '3.14', '3.14t']
38+ python : ['3.10', '3.11', '3.12', '3.13', '3.14', '3.14t']
3939 check_formatting : ['0']
4040 extra_name : ['']
4141 include :
@@ -47,16 +47,11 @@ jobs:
4747 uses : actions/checkout@v6
4848 - name : Setup Python
4949 uses : actions/setup-python@v6
50- if : " !endsWith(matrix.python, '-dev')"
5150 with :
5251 python-version : ${{ matrix.python }}
52+ allow-prereleases : true
5353 cache : pip
5454 cache-dependency-path : test-requirements.txt
55- - name : Setup Python (dev)
56- uses : deadsnakes/action@v3.0.1
57- if : endsWith(matrix.python, '-dev')
58- with :
59- python-version : ' ${{ matrix.python }}'
6055 - name : Run tests
6156 run : ./ci.sh
6257 env :
7166 strategy :
7267 fail-fast : false
7368 matrix :
74- python : ['3.8', '3.9', '3. 10', '3.11', '3.12', '3.13', '3.14', '3.14t']
69+ python : ['3.10', '3.11', '3.12', '3.13', '3.14', '3.14t']
7570 steps :
7671 - name : Checkout
7772 uses : actions/checkout@v6
8277 allow-prereleases : true
8378 cache : pip
8479 cache-dependency-path : test-requirements.txt
80+ - name : Set PYTHON_GIL
81+ if : endsWith(matrix.python-version, 't')
82+ run : |
83+ echo "PYTHON_GIL=0" >> "$GITHUB_ENV"
8584 - name : Run tests
8685 run : ./ci.sh
8786 env :
8887 # Should match 'name:' up above
8988 JOB_NAME : ' macOS (${{ matrix.python }})'
89+
90+ alls-green :
91+ if : always()
92+ needs :
93+ - Windows
94+ - Ubuntu
95+ - macOS
96+ runs-on : ubuntu-latest
97+ steps :
98+ - name : Decide whether all jobs succeeded or not
99+ uses : re-actors/alls-green@release/v1
100+ with :
101+ jobs : ${{ toJSON(needs) }}
0 commit comments