Add tox -e cover command
This commit is contained in:
parent
d3b37c7b48
commit
f7b665c74f
6
tox.ini
6
tox.ini
@ -21,6 +21,12 @@ deps = -r{toxinidir}/requirements.txt
|
|||||||
sphinx
|
sphinx
|
||||||
commands = {posargs:}
|
commands = {posargs:}
|
||||||
|
|
||||||
|
[testenv:cover]
|
||||||
|
commands =
|
||||||
|
coverage erase
|
||||||
|
python setup.py testr --coverage \
|
||||||
|
--testr-args='--concurrency=1 {posargs}'
|
||||||
|
|
||||||
[testenv:devenv]
|
[testenv:devenv]
|
||||||
envdir = devenv
|
envdir = devenv
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user