File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,21 @@ jobs:
19
19
- uses : actions/checkout@v4
20
20
21
21
- uses : actions/setup-python@v5
22
- if : ${{ !endsWith(matrix.python-version, 't') }}
22
+ if : ${{ !endsWith(matrix.python-version, 't') && matrix.python-version != '3.13' }}
23
23
with :
24
24
python-version : ${{ matrix.python-version }}
25
25
26
- - uses : deadsnakes/action@6c8b9b82fe0b4344f4b98f2775fcc395df45e494 # v3.1.0
26
+ - name : Setup free-threaded variables
27
27
if : ${{ endsWith(matrix.python-version, 't') }}
28
+ run : |
29
+ echo "FREE_THREADED=1" >> "$GITHUB_ENV"
30
+ echo "PYTHON_GIL=0" >> "$GITHUB_ENV"
31
+
32
+ - uses : deadsnakes/action@6c8b9b82fe0b4344f4b98f2775fcc395df45e494 # v3.1.0
33
+ if : ${{ endsWith(matrix.python-version, 't') || matrix.python-version == '3.13' }}
28
34
with :
29
35
python-version : " 3.13"
30
- nogil : true
36
+ nogil : ${{ env.FREE_THREADED == '1' }}
31
37
32
38
- name : Install tox
33
39
run : pip install tox
You can’t perform that action at this time.
0 commit comments