Merge "Reuse test commands in cover target"
This commit is contained in:
commit
492f4077de
2 files changed
+4
-2
No files matched your search
@@ -1,4 +1,3 @@
|
||||
fixtures>=3.0.0 # Apache-2.0/BSD
|
||||
oslotest>=3.2.0 # Apache-2.0
|
||||
coverage>=5.0 # Apache-2.0
|
||||
stestr>=2.0.0 # Apache-2.0
|
||||
@@ -50,9 +50,12 @@ commands =
|
||||
[testenv:cover]
|
||||
setenv =
|
||||
PYTHON=coverage run --source oslo_context --parallel-mode
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
coverage>=5.0 # Apache-2.0
|
||||
commands =
|
||||
coverage erase
|
||||
stestr run {posargs}
|
||||
{[testenv]commands}
|
||||
coverage combine
|
||||
coverage html -d cover
|
||||
coverage xml -o cover/coverage.xml
|
||||
|
||||
Reference in new issue
Block a user