Skip to content

Commit 9e3f5bb

Browse files
committed
Test free-threaded Python 3.13t and 3.14t
1 parent 52bf721 commit 9e3f5bb

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

.github/workflows/test.yml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,24 @@ 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:
@@ -27,14 +37,17 @@ 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 uv
31-
uses: astral-sh/setup-uv@v5
32-
with:
33-
cache-dependency-glob: "**/pyproject.toml"
46+
uses: astral-sh/setup-uv@v6
3447

3548
- name: Tox tests
3649
run: |
37-
uvx --with tox-uv tox -e py
50+
uvx --python ${{ matrix.python-version }} --with tox-uv tox -e py
3851
3952
- name: Upload coverage
4053
uses: codecov/codecov-action@v5

0 commit comments

Comments
 (0)