1
0
Fork 0
wuttjamaican/tox.ini
Lance Edgar 7ee8398718 test: skip some tests if mako not installed
also change corresponding tox env to 'nox' to reflect its "bare-bones"
nature and not just a lack of 'db'
2024-08-26 14:34:35 -05:00

22 lines
438 B
INI

[tox]
envlist = py38, py39, py310, py311, nox
[testenv]
extras = db,email,docs,tests
commands = pytest {posargs}
[testenv:nox]
extras = tests
[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