Skip to content

Commit 9ba9683

Browse files
committed
build: nightly wasn't running the correct tox environments
1 parent b7cf7d0 commit 9ba9683

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

.github/workflows/python-nightly.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
timeout-minutes: 60
3939

4040
env:
41-
TOX_GH_MAJOR_MINOR: "${{ matrix.python-version }}"
41+
TOX_GH_MAJOR_MINOR: "${{ matrix.python-version }}${{ matrix.nogil && 't' || '' }}"
4242

4343
strategy:
4444
matrix:
@@ -59,22 +59,22 @@ jobs:
5959
# tox.ini so that tox will run properly. PYVERSIONS
6060
# Available versions:
6161
# https://launchpad.net/~deadsnakes/+archive/ubuntu/nightly/+packages
62-
- "3.12-dev"
63-
- "3.13-dev"
64-
- "3.14-dev"
62+
- "3.12"
63+
- "3.13"
64+
- "3.14"
6565
# https://github.com/actions/setup-python#available-versions-of-pypy
66-
- "pypy-3.10-nightly"
66+
- "pypy-3.10"
6767
nogil:
6868
- false
6969
- true
7070
include:
71-
- python-version: "pypy-3.10-nightly"
71+
- python-version: "pypy-3.10"
7272
os: "windows-latest"
7373
os-short: "windows"
7474
exclude:
75-
- python-version: "3.12-dev"
75+
- python-version: "3.12"
7676
nogil: true
77-
- python-version: "pypy-3.10-nightly"
77+
- python-version: "pypy-3.10"
7878
nogil: true
7979

8080
fail-fast: false
@@ -89,14 +89,14 @@ jobs:
8989
uses: deadsnakes/action@e640ac8743173a67cca4d7d77cd837e514bf98e8 # v3.2.0
9090
if: "!startsWith(matrix.python-version, 'pypy-')"
9191
with:
92-
python-version: "${{ matrix.python-version }}"
92+
python-version: "${{ matrix.python-version }}-dev"
9393
nogil: "${{ matrix.nogil || false }}"
9494

9595
- name: "Install ${{ matrix.python-version }} with setup-python"
9696
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
9797
if: "startsWith(matrix.python-version, 'pypy-')"
9898
with:
99-
python-version: "${{ matrix.python-version }}"
99+
python-version: "${{ matrix.python-version }}-nightly"
100100

101101
- name: "Show diagnostic info"
102102
run: |

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,4 @@ python =
136136
3.14 = py314
137137
3.14t = py314t
138138
pypy-3 = pypy3
139+
pypy-3.10 = pypy3

0 commit comments

Comments
 (0)