Skip to content

Commit

Permalink
Merge pull request #356 from neutrinoceros/tst/cp313t
Browse files Browse the repository at this point in the history
TST: test Python 3.13 both GIL and free-threading flavors
  • Loading branch information
neutrinoceros authored May 15, 2024
2 parents 5181b06 + 3558d66 commit e6afdfd
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ on:

jobs:
tests:
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
name: 'Python ${{ matrix.python-version }} on ${{ matrix.os }} (free-threading: ${{ matrix.free-threading }})'
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
Expand All @@ -20,16 +21,33 @@ jobs:
python-version:
- '3.9'
- '3.12'
free-threading:
- false
include:
- os: ubuntu-latest
python-version: 3.13-dev
free-threading: false
- os: ubuntu-latest
python-version: 3.13-dev
free-threading: true

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- uses: actions/setup-python@v5
if: ${{ !matrix.free-threading }}
with:
python-version: ${{ matrix.python-version }}
- uses: deadsnakes/[email protected]
if: ${{ matrix.free-threading }}
with:
python-version: ${{ matrix.python-version }}
nogil: true
- name: Setup package
run: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit e6afdfd

Please sign in to comment.