1
0
Fork 0
wuttjamaican/tox.ini
Lance Edgar ba1905b7ad Revert "Add support for python 3.12"
This reverts commit 07bc29c494.

probably 3.12 works fine, but for technical reasons the automated
tests don't work yet.  hoping once we drop 3.6 support then can get
the 3.12 tests working properly..
2024-05-31 14:03:02 -05:00

28 lines
724 B
INI

[tox]
envlist = py36, py37, py38, py39, py310, py311
# TODO: can remove this when we drop py36 support
# nb. need this for testing older python versions
# https://tox.wiki/en/latest/faq.html#testing-end-of-life-python-versions
requires = virtualenv<20.22.0
[testenv]
extras = db,docs,tests
commands = pytest {posargs}
[testenv:py37]
# nb. newer coverage is causing segfault for this one, so must avoid that
deps = coverage<6.5
[testenv:coverage]
basepython = python3.11
extras = db,tests
commands = pytest --cov=wuttjamaican --cov-report=html --cov-fail-under=100
[testenv:docs]
basepython = python3.11
extras = db,docs
changedir = docs
commands = sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs