Skip to content

Commit

Permalink
Update testing for new Python versions
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed Jul 22, 2024
1 parent 3180a66 commit 2193cdb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11.0-alpha - 3.11", "pypy3.9"]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev", "pypy3.9", "pypy3.10"]
steps:
- uses: "actions/checkout@v3"
- uses: "actions/setup-python@v4"
Expand Down
26 changes: 10 additions & 16 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
[tox]
envlist = lint,py{36,37,38,39,310,311}-{test,requests},pypy3
envlist = lint,py{36,37,38,39,310,311,312,313,py39,py310}-{test,requests}
isolated_build = True

[testenv:py{3,36,37,38,39,310,311,py3}-test]
[testenv]
deps =
# install requests before certifi-system-store
requests: requests
extras = tests
recreate = True
commands =
{envpython} -m certifi
{envpython} -m certifi -v
{envpython} -m pytest {posargs}

[testenv:py{3,36,37,38,39,310,311,py3}-requests]
# install requests before certifi-system-store
deps = requests
extras = tests
recreate = True
commands =
{envpython} -m certifi
{envpython} -m certifi -v
Expand All @@ -37,10 +29,12 @@ python =
3.6: py36-test, py36-requests
3.7: py37-test, py37-requests
3.8: py38-test, py38-requests
3.9: py39-test, py39-requests, lint
3.10: py310-test, py310-requests, packaging
3.9: py39-test, py39-requests
3.10: py310-test, py310-requests
3.11: py311-test, py311-requests
pypy3: pypy3
3.12: py312-test, py312-requests, lint, packaging
pypy3.9: pypy39-test, pypy39-requests
pypy3.10: pypy310-test, pypy310-requests

[flake8]
exclude = .tox,*.egg,.git,build
Expand Down

0 comments on commit 2193cdb

Please sign in to comment.