From ed201d9dd93294384e7740e724f41d69dca9b49b Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Thu, 23 Nov 2023 18:38:08 +0200 Subject: [PATCH] Add free-threaded job to CI --- .github/workflows/test.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 33dc561e561..ce5eeacbe56 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,6 +41,7 @@ jobs: python-version: [ "pypy3.10", "pypy3.9", + "3.13-dev", "3.13", "3.12", "3.11", @@ -62,6 +63,7 @@ jobs: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} + if: "!endsWith(matrix.python-version, '-dev')" uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} @@ -69,6 +71,13 @@ jobs: cache: pip cache-dependency-path: ".ci/*.sh" + - name: Set up Python ${{ matrix.python-version }} (disable-gil) + if: endsWith(matrix.python-version, '-dev') + uses: hugovk/action@test-me-disable-gil + with: + python-version: ${{ matrix.python-version }} + disable-gil: true + - name: Build system information run: python3 .github/workflows/system-info.py