add test for py3.12

This commit is contained in:
Wong Chun Hong 2023-08-30 21:28:02 +01:00
parent c160f062a5
commit 0e006ac583
2 changed files with 3 additions and 2 deletions

View File

@ -25,6 +25,7 @@ jobs:
fail-fast: false
matrix:
include:
- {name: '3.12', python: '3.12', os: ubuntu-latest, tox: py312}
- {name: '3.11', python: '3.11', os: ubuntu-latest, tox: py311}
- {name: '3.10', python: '3.10', os: ubuntu-latest, tox: py310}
- {name: '3.9', python: '3.9', os: ubuntu-latest, tox: py39}

View File

@ -1,5 +1,5 @@
[tox]
envlist = py3{8,9,10,11}, mypy, pre-commit
envlist = py3{8,9,10,11,12}, mypy, pre-commit
skipsdist = true
[testenv]
@ -8,7 +8,7 @@ deps =
setenv =
PYTHONPATH = .:{envdir}
commands =
py{38,39,310,311}: pytest --cov=graphene graphene --cov-report=term --cov-report=xml examples {posargs}
py{38,39,310,311,312}: pytest --cov=graphene graphene --cov-report=term --cov-report=xml examples {posargs}
[testenv:pre-commit]
basepython = python3.11