Skip to content

Commit

Permalink
build: test nightly nogil on 3.13 and 3.14 also
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed May 12, 2024
1 parent e05f60c commit 08ae8df
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/python-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ concurrency:

jobs:
tests:
name: "${{ matrix.python-version }} on ${{ matrix.os-short }}"
name: "${{ matrix.python-version }}${{ matrix.nogil && ' nogil' || '' }} on ${{ matrix.os-short }}"
runs-on: "${{ matrix.os }}"
# If it doesn't finish in an hour, it's not going to. Don't spin for six
# hours needlessly.
Expand Down Expand Up @@ -64,9 +64,17 @@ jobs:
- "pypy-3.9-nightly"
- "pypy-3.10-nightly"
include:
- python-version: "pypy-3.10-nightly"
os: "windows-latest"
os-short: "windows"
- python-version: "pypy-3.10-nightly"
os: "windows-latest"
os-short: "windows"
- python-version: "3.13-dev"
# nogil fails for now. hugovk says it's because:
# > pip hasn't vendored the new version of packaging yet.
# > it should be in 24.1, due some time this month.
nogil: true
- python-version: "3.14-dev"
nogil: true

fail-fast: false

steps:
Expand All @@ -78,6 +86,7 @@ jobs:
if: "!startsWith(matrix.python-version, 'pypy-')"
with:
python-version: "${{ matrix.python-version }}"
nogil: "${{ matrix.nogil || false }}"

- name: "Install ${{ matrix.python-version }} with setup-python"
uses: "actions/setup-python@v5"
Expand Down

0 comments on commit 08ae8df

Please sign in to comment.