Commit 3dfc1b4c authored by Cyril Roelandt's avatar Cyril Roelandt
Browse files

Add support for coverage in our test runs.

parent 3f634370
[run]
branch = True
[report]
omit = upt/tests/*
fail_under = 90
......@@ -2,8 +2,14 @@
envlist=flake8,py36
[testenv]
deps = .[test]
commands = python -m unittest {posargs}
deps =
coverage
.[test]
commands =
coverage erase
coverage run --source=upt -m unittest {posargs}
coverage html
coverage report
[testenv:flake8]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment