@@ -13,12 +13,16 @@ jobs:
13
13
strategy :
14
14
matrix :
15
15
os-type :[ubuntu, macos, windows]
16
- python-version :["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
16
+ python-version :["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.13t" ]
17
17
exclude :
18
18
-os-type :macos
19
19
python-version :" 3.7" # Not available for the ARM-based macOS runners.
20
+ -os-type :macos
21
+ python-version :" 3.13t"
20
22
-os-type :windows
21
23
python-version :" 3.13" # FIXME: Fix and enable Python 3.13 on Windows (#1955).
24
+ -os-type :windows
25
+ python-version :" 3.13t"
22
26
include :
23
27
-os-ver :latest
24
28
-os-type :ubuntu
@@ -40,11 +44,20 @@ jobs:
40
44
fetch-depth :0
41
45
42
46
-name :Set up Python ${{ matrix.python-version }}
47
+ if :|-
48
+ !endsWith(matrix.python-version, 't')
43
49
uses :actions/setup-python@v5
44
50
with :
45
51
python-version :${{ matrix.python-version }}
46
52
allow-prereleases :${{ matrix.experimental }}
47
53
54
+ -name :Set up Python ${{ matrix.python-version }} (free-threaded)
55
+ if :endsWith(matrix.python-version, 't')
56
+ uses :Quansight-Labs/setup-python@v5
57
+ with :
58
+ python-version :${{ matrix.python-version }}
59
+ allow-prereleases :${{ matrix.experimental }}
60
+
48
61
-name :Set up WSL (Windows)
49
62
if :matrix.os-type == 'windows'
50
63
uses :Vampire/setup-wsl@v5.0.0