~brenns10/subc

subc/tox.ini -rw-r--r-- 573 bytes
12881154Stephen Brennan Release v0.7.1 a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[tox]
envlist = py36,py39

[testenv]
deps = -rrequirements-dev.txt
commands =
    pytest tests --cov=subc --cov=tests {posargs} --cov-report term --cov-report html

#[testenv:docs]
#description = invoke sphinx-build to build the HTML docs
#basepython = python3.8
#deps =
#    sphinx
#    sphinx-autorun
#commands = sphinx-build -d "{toxworkdir}/docs_doctree" doc "{toxworkdir}/docs_out" --color -W -bhtml {posargs}
#           python -c 'import pathlib; print("documentation available under file://\{0\}".format(pathlib.Path(r"{toxworkdir}") / "docs_out" / "index.html"))'