Skip to content

Commit 46b8f9e

Browse files
authored
[build] Tests are run against Python 3.12 (dev). (#514)
This should make any incompatibilities visible earlier. This, in turn, gives pytest-asyncio more time to adjust and react. Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
1 parent 947e31a commit 46b8f9e

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/main.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,16 @@ jobs:
6060

6161
strategy:
6262
matrix:
63-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
63+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', 3.12-dev]
6464

6565
steps:
6666
- uses: actions/checkout@v3
6767
- uses: actions/setup-python@v4
68+
if: "!endsWith(matrix.python-version, '-dev')"
69+
with:
70+
python-version: ${{ matrix.python-version }}
71+
- uses: deadsnakes/action@v3.0.0
72+
if: endsWith(matrix.python-version, '-dev')
6873
with:
6974
python-version: ${{ matrix.python-version }}
7075
- name: Install dependencies

tox.ini

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
minversion = 3.14.0
3-
envlist = py37, py38, py39, py310, py311, pytest-min
3+
envlist = py37, py38, py39, py310, py311, py312, pytest-min
44
isolated_build = true
55
passenv =
66
CI
@@ -30,4 +30,5 @@ python =
3030
3.9: py39
3131
3.10: py310
3232
3.11: py311
33+
3.12: py312
3334
pypy3: pypy3

0 commit comments

Comments
 (0)