From 86195911abb07a9d98327445c805c8ba1d74fc4d Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 25 Aug 2025 12:05:27 +0300 Subject: [PATCH] Test free-threaded Python 3.13t and 3.14t --- .github/workflows/test.yml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1a9988d..2614f49 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,6 +6,7 @@ permissions: {} env: FORCE_COLOR: 1 + PIP_DISABLE_PIP_VERSION_CHECK: 1 jobs: test: @@ -13,11 +14,20 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["pypy3.11", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] + python-version: + - "pypy3.11" + - "3.14t" + - "3.14" + - "3.13t" + - "3.13" + - "3.12" + - "3.11" + - "3.10" + - "3.9" os: [windows-latest, macos-latest, ubuntu-latest] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: persist-credentials: false @@ -27,6 +37,11 @@ jobs: python-version: ${{ matrix.python-version }} allow-prereleases: true + - name: Set PYTHON_GIL + if: endsWith(matrix.python-version, 't') + run: | + echo "PYTHON_GIL=0" >> "$GITHUB_ENV" + - name: Install Linux dependencies if: startsWith(matrix.os, 'ubuntu') run: | @@ -46,7 +61,7 @@ jobs: - name: Tox tests run: | - uvx --with tox-uv tox -e py + uvx --python ${{ matrix.python-version }} --with tox-uv tox -e py - name: Upload coverage uses: codecov/codecov-action@v5