Merge "Add separate env for functional tests"
This commit is contained in:
commit
83fa9bbe82
|
@ -1,3 +1,3 @@
|
||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
test_path=${OS_TEST_PATH:-./novajoin/tests}
|
test_path=${OS_TEST_PATH:-./novajoin/tests/unit}
|
||||||
top_dir=./
|
top_dir=./
|
||||||
|
|
9
tox.ini
9
tox.ini
|
@ -67,3 +67,12 @@ commands = sphinx-build -W -b html doc/source doc/build/html
|
||||||
sitepackages = False
|
sitepackages = False
|
||||||
envdir = {toxworkdir}/pep8
|
envdir = {toxworkdir}/pep8
|
||||||
commands = oslo-config-generator --config-file=files/novajoin-config-generator.conf
|
commands = oslo-config-generator --config-file=files/novajoin-config-generator.conf
|
||||||
|
|
||||||
|
[testenv:functional]
|
||||||
|
basepython = python3
|
||||||
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
|
setenv =
|
||||||
|
OS_TEST_PATH={toxinidir}/novajoin/tests/functional
|
||||||
|
commands =
|
||||||
|
/usr/bin/find . -type f -name "*.py[c|o]" -delete
|
||||||
|
stestr run --slowest {posargs}
|
||||||
|
|
Loading…
Reference in New Issue