Switch coverage tox job to use pbr test command
There is some weirdness around the pbr testr command and in some environments the coverage command doesn't include all the options. To remedy this lets just use the test command which is what works everywhere. Change-Id: I1d1bcb3e17363e4079c865cc1e94256ce2255bed
This commit is contained in:
parent
9e47781867
commit
25e6488e75
2
tox.ini
2
tox.ini
@ -25,7 +25,7 @@ commands = flake8
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:cover]
|
||||
commands = python setup.py testr --coverage --coverage-package-name='elastic_recheck' --testr-args='{posargs} tests.unit'
|
||||
commands = python setup.py test --coverage --coverage-package-name='elastic_recheck' --testr-args='{posargs} tests.unit'
|
||||
|
||||
[testenv:run]
|
||||
# test to run the bot as a non voting foreground process
|
||||
|
Loading…
x
Reference in New Issue
Block a user