Fix tox coverage test
tox coverage test failed by wrong project name PYTHON=coverage run --source $project --parallel-mode should be: PYTHON=coverage run --source searchlightclient --parallel-mode Change-Id: Iaee6653dd6d82c3187112f7a4cc03f149123a820 Signed-off-by: Trinh Nguyen <dangtrinhnt@gmail.com>
This commit is contained in:
parent
e44ef24144
commit
523e86ee5c
4
tox.ini
4
tox.ini
|
@ -40,12 +40,14 @@ passenv = OS_*
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
setenv =
|
setenv =
|
||||||
PYTHON=coverage run --source $project --parallel-mode
|
VIRTUAL_ENV={envdir}
|
||||||
|
PYTHON=coverage run --source searchlightclient --parallel-mode
|
||||||
commands =
|
commands =
|
||||||
stestr run {posargs}
|
stestr run {posargs}
|
||||||
coverage combine
|
coverage combine
|
||||||
coverage html -d cover
|
coverage html -d cover
|
||||||
coverage xml -o cover/coverage.xml
|
coverage xml -o cover/coverage.xml
|
||||||
|
coverage report
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
|
Loading…
Reference in New Issue