Skip to content

Commit f233281

Browse files
committed
TEST: Add CI job for free threaded python 3.13
1 parent 8c6124f commit f233281

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/python-test.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,15 @@ jobs:
3131
fail-fast: false
3232
matrix:
3333
# Use strings since yaml considers 3.10 equal to 3.1
34-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
34+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.13t']
3535

3636
steps:
3737
- uses: actions/checkout@v4
3838

39-
- name: Set up Python ${{ matrix.python-version }}
40-
uses: actions/setup-python@v5
39+
- name: Set up Python
40+
# Switch back to actions/setup-python@v5 once they support free-threaded python;
41+
# see revelant PR: https://github.com/actions/setup-python/pull/973
42+
uses: Quansight-Labs/setup-python@v5
4143
with:
4244
python-version: ${{ matrix.python-version }}
4345

@@ -52,7 +54,7 @@ jobs:
5254
- name: Install optional dependencies
5355
id: install-optional
5456
# uncomment below to allow skipping future versions
55-
if: matrix.python-version != '3.13'
57+
if: matrix.python-version != '3.13t'
5658
run: python -m pip install "pentapy>=1.1" "numba>=0.49"
5759

5860
- name: Test with optional dependencies

0 commit comments

Comments
 (0)