Skip to content

Commit 288a7a7

Browse files
authored
Test free-threaded Python 3.13t and 3.14t (#261)
1 parent 0f5d294 commit 288a7a7

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

.github/workflows/test.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,28 @@ permissions: {}
66

77
env:
88
FORCE_COLOR: 1
9+
PIP_DISABLE_PIP_VERSION_CHECK: 1
910

1011
jobs:
1112
test:
1213
runs-on: ${{ matrix.os }}
1314
strategy:
1415
fail-fast: false
1516
matrix:
16-
python-version: ["pypy3.11", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
17+
python-version:
18+
- "pypy3.11"
19+
- "3.14t"
20+
- "3.14"
21+
- "3.13t"
22+
- "3.13"
23+
- "3.12"
24+
- "3.11"
25+
- "3.10"
26+
- "3.9"
1727
os: [windows-latest, macos-latest, ubuntu-latest]
1828

1929
steps:
20-
- uses: actions/checkout@v4
30+
- uses: actions/checkout@v5
2131
with:
2232
persist-credentials: false
2333

@@ -27,6 +37,11 @@ jobs:
2737
python-version: ${{ matrix.python-version }}
2838
allow-prereleases: true
2939

40+
- name: Set PYTHON_GIL
41+
if: endsWith(matrix.python-version, 't')
42+
run: |
43+
echo "PYTHON_GIL=0" >> "$GITHUB_ENV"
44+
3045
- name: Install Linux dependencies
3146
if: startsWith(matrix.os, 'ubuntu')
3247
run: |
@@ -46,7 +61,7 @@ jobs:
4661
4762
- name: Tox tests
4863
run: |
49-
uvx --with tox-uv tox -e py
64+
uvx --python ${{ matrix.python-version }} --with tox-uv tox -e py
5065
5166
- name: Upload coverage
5267
uses: codecov/codecov-action@v5

0 commit comments

Comments
 (0)