aetherscale

[unmaintained] code for a cloud provider tutorial
Log | Files | Refs | README | LICENSE

commit 08e5601a1461ef0a644b093c69fcd3f1e130a864
parent 534eb3f72354acbe1508315fa50380fee6b2b5e0
Author: Stefan Koch <programming@stefan-koch.name>
Date:   Sun, 13 Dec 2020 22:42:28 +0100

output code coverage at the end of tox run

Diffstat:
Mtox.ini | 17++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/tox.ini b/tox.ini @@ -1,6 +1,17 @@ [tox] -envlist = py3 +envlist = clean,py3,report [testenv] -deps = pytest -commands = pytest {posargs} +deps = + coverage + pytest +commands = + coverage run --source aetherscale -m pytest + +[testenv:clean] +deps = coverage +skip_install = true +commands = coverage erase + +[testenv:report] +commands = coverage report