Skip to content

Commit e01f738

Browse files
authored
ci: test 3.14t in the pytest matrix instead of a separate job (#138)
1 parent b16a2d6 commit e01f738

1 file changed

Lines changed: 4 additions & 14 deletions

File tree

‎.github/workflows/_checks.yml‎

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
- "3.12"
3535
- "3.13"
3636
- "3.14"
37+
- "3.14t"
3738
steps:
3839
- uses: actions/checkout@v6
3940
- uses: extractions/setup-just@v4
@@ -44,20 +45,9 @@ jobs:
4445
- run: uv python install ${{ matrix.python-version }}
4546
- run: uv python pin ${{ matrix.python-version }}
4647
- run: just install
47-
- run: just test-ci
48-
pytest-freethreaded:
49-
runs-on: ubuntu-latest
50-
steps:
51-
- uses: actions/checkout@v6
52-
- uses: extractions/setup-just@v4
53-
- uses: astral-sh/setup-uv@v8.2.0
54-
with:
55-
enable-cache: true
56-
cache-dependency-glob: "**/pyproject.toml"
57-
- run: uv python install 3.14t
58-
- run: uv python pin 3.14t
59-
- run: just install
60-
- run: uv run --no-sync python -c "import sys; assert not sys._is_gil_enabled(), 'GIL is enabled'"
48+
- name: Confirm the interpreter is free-threaded
49+
if: matrix.python-version == '3.14t'
50+
run: uv run --no-sync python -c "import sys; assert not sys._is_gil_enabled(), 'GIL is enabled'"
6151
- run: just test-ci
6252
floors:
6353
# Every other job resolves newest, so the declared floors are a claim nothing installs.

0 commit comments

Comments
 (0)