Skip to content

Commit f4951b0

Browse files
committed
GitHub Actions: use 3.11 as current Python and add 3.12-dev
1 parent 1b39feb commit f4951b0

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.github/workflows/noxpy.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
'3.8': '3.8',
1010
'3.9': '3.9',
1111
'3.10': '3.10',
12-
'3.11.0-alpha - 3.11': '3.11',
12+
'3.11': '3.11',
13+
'3.12.0-alpha - 3.12': '3.12',
1314
'pypy-3.8': 'pypy3',
1415
'pypy-3.9': 'pypy3',
1516
'pypy-3.10': 'pypy3',

.github/workflows/tests.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
default: false
1616

1717
env:
18-
current_python: '3.10'
18+
current_python: '3.11'
1919
poetry_version: '1.1.12'
2020
nox_cmd: 'nox --verbose --error-on-missing-interpreters --session'
2121
jobs:
@@ -131,7 +131,7 @@ jobs:
131131
fail-fast: false
132132
matrix:
133133
os: [Ubuntu, MacOS, Windows]
134-
python-version: [3.7, 3.8, 3.9, '3.10', 3.11.0-alpha - 3.11, pypy-3.9]
134+
python-version: [3.7, 3.8, 3.9, '3.10', 3.11, 3.12.0-alpha - 3.12, pypy-3.9]
135135
noxenv: [unit]
136136
cov: [1]
137137
name: [""]
@@ -175,17 +175,18 @@ jobs:
175175
fail-fast: false
176176
matrix:
177177
os: [Ubuntu, MacOS, Windows]
178-
python-version: ['3.10']
178+
python-version: ['3.11']
179179
noxenv: [regression]
180180
cov: [1]
181181
name: [""]
182182
include:
183183
- { os: Ubuntu, python-version: 3.7, noxenv: regression, cov: 1 }
184184
- { os: Ubuntu, python-version: 3.8, noxenv: regression, cov: 1 }
185185
- { os: Ubuntu, python-version: '3.10', noxenv: regression, cov: 1 }
186-
- { os: Ubuntu, python-version: 3.11.0-alpha - 3.11, noxenv: regression, cov: 1 }
186+
- { os: Ubuntu, python-version: 3.11, noxenv: regression, cov: 1 }
187+
- { os: Ubuntu, python-version: 3.12.0-alpha - 3.12, noxenv: regression, cov: 1 }
187188
- { os: Ubuntu, python-version: pypy-3.9, noxenv: regression, cov: 1 }
188-
- { os: Ubuntu, python-version: '3.10', noxenv: regression_docutils, cov: 0, name: " (docutils)" }
189+
- { os: Ubuntu, python-version: 3.11, noxenv: regression_docutils, cov: 0, name: " (docutils)" }
189190
- { os: Ubuntu, python-version: 3.9, noxenv: regression_sphinx, cov: 0, name: " (Sphinx)" }
190191
runs-on: ${{ matrix.os }}-latest
191192
env:

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
f'regression-{CURRENT_PYTHON}(wheel)']
1919

2020

21-
PYTHONS = ['3.7', '3.8', '3.9', '3.10', '3.11']
21+
PYTHONS = ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
2222
PYTHONS += ['pypy3'] if os.getenv('CI') else ['pypy3.9']
2323

2424
DEPENDENCIES = ['pytest', 'pytest-xdist', 'pytest-cov', 'coverage', 'Sphinx']

0 commit comments

Comments
 (0)