Add stestr config file
This commit is contained in:
parent
1375df399a
commit
961972077a
3
.stestr.conf
Normal file
3
.stestr.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[DEFAULT]
|
||||||
|
test_path=${TESTS_DIR:-./tests/}
|
||||||
|
top_dir=./
|
4
tox.ini
4
tox.ini
@ -22,7 +22,7 @@ deps =
|
|||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands =
|
commands =
|
||||||
stestr run --config {toxinidir}/.stestr.conf {posargs}
|
stestr run {posargs}
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
@ -36,7 +36,7 @@ setenv =
|
|||||||
PYTHON=coverage run --source tenks,ansible/action_plugins --parallel-mode
|
PYTHON=coverage run --source tenks,ansible/action_plugins --parallel-mode
|
||||||
commands =
|
commands =
|
||||||
coverage erase
|
coverage erase
|
||||||
stestr run --config {toxinidir}/.stestr.conf {posargs}
|
stestr run {posargs}
|
||||||
coverage combine
|
coverage combine
|
||||||
coverage report
|
coverage report
|
||||||
coverage html -d cover
|
coverage html -d cover
|
||||||
|
Loading…
Reference in New Issue
Block a user