18 lines
365 B
INI
18 lines
365 B
INI
|
|
[tox]
|
|
envlist = py38, py39, py310, py311
|
|
|
|
[testenv]
|
|
extras = tests
|
|
commands = pytest {posargs}
|
|
|
|
[testenv:coverage]
|
|
basepython = python3.11
|
|
commands = pytest --cov=wuttamess --cov-report=html --cov-fail-under=100
|
|
|
|
[testenv:docs]
|
|
basepython = python3.11
|
|
extras = docs
|
|
changedir = docs
|
|
commands = sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs
|