2023-10-29 10:26:02 -05:00
|
|
|
|
|
|
|
[tox]
|
2024-08-26 14:34:35 -05:00
|
|
|
envlist = py38, py39, py310, py311, nox
|
2023-10-29 23:32:11 -05:00
|
|
|
|
2023-10-29 10:26:02 -05:00
|
|
|
[testenv]
|
2024-11-24 10:13:56 -06:00
|
|
|
extras = db,docs,tests
|
|
|
|
deps = prompt_toolkit
|
2023-11-19 15:21:17 -06:00
|
|
|
commands = pytest {posargs}
|
|
|
|
|
2024-08-26 14:34:35 -05:00
|
|
|
[testenv:nox]
|
2024-07-04 08:00:42 -05:00
|
|
|
extras = tests
|
|
|
|
|
2023-10-29 10:26:02 -05:00
|
|
|
[testenv:coverage]
|
|
|
|
basepython = python3.11
|
2023-11-19 15:21:17 -06:00
|
|
|
extras = db,tests
|
|
|
|
commands = pytest --cov=wuttjamaican --cov-report=html --cov-fail-under=100
|
2023-10-29 10:26:02 -05:00
|
|
|
|
|
|
|
[testenv:docs]
|
|
|
|
basepython = python3.11
|
2023-11-19 15:21:17 -06:00
|
|
|
extras = db,docs
|
2023-10-29 10:26:02 -05:00
|
|
|
changedir = docs
|
2023-11-19 15:21:17 -06:00
|
|
|
commands = sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs
|