Fix coverage test configuration
This fix tries to solve below issue: * *.pyc need to be cleared before running coverage test * Old coverage results need to be cleaned Change-Id: I2bdfaf4f7023f07fce805b71d256cc3166693826
This commit is contained in:
parent
2660fb15c3
commit
2c42ad62de
5
tox.ini
5
tox.ini
@ -25,7 +25,10 @@ commands = flake8 {posargs}
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:cover]
|
||||
commands = python setup.py test --coverage --testr-args='{posargs}'
|
||||
commands =
|
||||
coverage erase
|
||||
find . -type f -name "*.pyc" -delete
|
||||
python setup.py testr --coverage --testr-args='{posargs}'
|
||||
|
||||
[testenv:docs]
|
||||
commands = python setup.py build_sphinx
|
||||
|
Loading…
Reference in New Issue
Block a user