Skip to content

Commit

Permalink
Turn on testing for python 3.12
Browse files Browse the repository at this point in the history
This will initially fail until wsgi-intercept is updated
for python 3.12 (in progress).
  • Loading branch information
cdent committed Jan 2, 2024
1 parent 6e7d667 commit 78d6bde
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
toxenv: py310
- python: "3.11"
toxenv: py311
- python: "3.12"
toxenv: py312
- python: pypy-3.8
toxenv: pypy3
- python: 3.7
Expand All @@ -31,6 +33,10 @@ jobs:
toxenv: py39-pytest
- python: "3.10"
toxenv: py310-pytest
- python: "3.11"
toxenv: py311-pytest
- python: "3.12"
toxenv: py312-pytest
- python: 3.9
toxenv: py39-failskip
- python: 3.9
Expand Down
8 changes: 7 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
minversion = 3.1.1
skipsdist = True
envlist = pep8,py37,py38,py39,py310,pypy3,pep8,limit,failskip,docs,py39-prefix,py39-limit,py39-verbosity,py39-failskip,py36-pytest,py37-pytest,py38-pytest,py39-pytest,py310-pytest
envlist = pep8,py37,py38,py39,py310,py311,py312,pypy3,pep8,limit,failskip,docs,py39-prefix,py39-limit,py39-verbosity,py39-failskip,py36-pytest,py37-pytest,py38-pytest,py39-pytest,py310-pytest,py311-pytest,py312-pytest

[testenv]
deps = -r{toxinidir}/requirements.txt
Expand Down Expand Up @@ -34,6 +34,12 @@ commands = py.test gabbi
[testenv:py310-pytest]
commands = py.test gabbi

[testenv:py311-pytest]
commands = py.test gabbi

[testenv:py312-pytest]
commands = py.test gabbi

[testenv:py39-prefix]
setenv = GABBI_PREFIX=/snoopy

Expand Down

0 comments on commit 78d6bde

Please sign in to comment.