add python 3.11 to tox tests
This commit is contained in:
parent
55cfad90a9
commit
6b5cdb7f7e
8
tox.ini
8
tox.ini
@ -4,7 +4,7 @@
|
|||||||
# and then run "tox" from this directory.
|
# and then run "tox" from this directory.
|
||||||
|
|
||||||
[tox]
|
[tox]
|
||||||
envlist = begin,py38,py39,py310,coverage,security,lint,bundle
|
envlist = begin,py38,py39,py310,py311,coverage,security,lint,bundle
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
# build a wheel and test it
|
# build a wheel and test it
|
||||||
@ -46,6 +46,11 @@ commands =
|
|||||||
commands =
|
commands =
|
||||||
pytest --cov-append --cov={envsitepackagesdir}/incorporealcms/ --cov-branch
|
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]
|
[testenv:coverage]
|
||||||
# report on coverage runs from above
|
# report on coverage runs from above
|
||||||
skip_install = true
|
skip_install = true
|
||||||
@ -91,6 +96,7 @@ exclude =
|
|||||||
versioneer.py
|
versioneer.py
|
||||||
_version.py
|
_version.py
|
||||||
instance/
|
instance/
|
||||||
|
venv/
|
||||||
extend-ignore = T101
|
extend-ignore = T101
|
||||||
max-complexity = 10
|
max-complexity = 10
|
||||||
max-line-length = 120
|
max-line-length = 120
|
||||||
|
Loading…
Reference in New Issue
Block a user