Skip to content

Commit

Permalink
Add free-threaded job to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Nov 23, 2023
1 parent 419c3bb commit afb88b9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
python-version: [
"pypy3.10",
"pypy3.9",
"3.13-dev",
"3.13",
"3.12",
"3.11",
Expand All @@ -54,6 +55,8 @@ jobs:
REVERSE: "--reverse"
- python-version: "3.8"
PYTHONOPTIMIZE: 2
exclude:
- { python-version: "3.13-dev", os: "macos-latest" }

runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
Expand All @@ -62,13 +65,21 @@ 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 }}
allow-prereleases: true
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

Expand Down

0 comments on commit afb88b9

Please sign in to comment.