Skip to content

Commit

Permalink
[build] Tests are run against Python 3.12 (dev). (#514)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
seifertm committed Mar 19, 2023
1 parent 947e31a commit 46b8f9e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,16 @@ jobs:

strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', 3.12-dev]

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
if: "!endsWith(matrix.python-version, '-dev')"
with:
python-version: ${{ matrix.python-version }}
- uses: deadsnakes/action@v3.0.0
if: endsWith(matrix.python-version, '-dev')
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
minversion = 3.14.0
envlist = py37, py38, py39, py310, py311, pytest-min
envlist = py37, py38, py39, py310, py311, py312, pytest-min
isolated_build = true
passenv =
CI
Expand Down Expand Up @@ -30,4 +30,5 @@ python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
pypy3: pypy3

0 comments on commit 46b8f9e

Please sign in to comment.