add python 3.11 to tox tests

This commit is contained in:
Brian S. Stephan 2023-10-07 13:07:05 -05:00
parent 55cfad90a9
commit 6b5cdb7f7e
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
1 changed files with 7 additions and 1 deletions

View File

@ -4,7 +4,7 @@
# and then run "tox" from this directory.
[tox]
envlist = begin,py38,py39,py310,coverage,security,lint,bundle
envlist = begin,py38,py39,py310,py311,coverage,security,lint,bundle
[testenv]
# build a wheel and test it
@ -46,6 +46,11 @@ commands =
commands =
pytest --cov-append --cov={envsitepackagesdir}/incorporealcms/ --cov-branch
[testenv:py311]
# run pytest with coverage
commands =
pytest --cov-append --cov={envsitepackagesdir}/incorporealcms/ --cov-branch
[testenv:coverage]
# report on coverage runs from above
skip_install = true
@ -91,6 +96,7 @@ exclude =
versioneer.py
_version.py
instance/
venv/
extend-ignore = T101
max-complexity = 10
max-line-length = 120