Add a functional test target
Change-Id: Id5e91755ac9a9de52431385c4c71cc6da0538b8f
This commit is contained in:
parent
f89081977e
commit
046e4915f8
1
tools/kube-init.sh
Normal file → Executable file
1
tools/kube-init.sh
Normal file → Executable file
@ -68,6 +68,7 @@ echo "SUCCESS"
|
||||
echo "Cluster created!"
|
||||
echo ""
|
||||
|
||||
echo "Running tests..."
|
||||
set -x -e
|
||||
# Yield execution to venv command
|
||||
$*
|
3
tox.ini
3
tox.ini
@ -16,6 +16,9 @@ commands = python setup.py test --slowest --testr-args='{posargs}'
|
||||
[testenv:common-constraints]
|
||||
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
|
||||
|
||||
[testenv:py27-functional]
|
||||
commands = {toxinidir}/tools/kube-init.sh python setup.py testr --slowest --testr-args="{posargs}"
|
||||
|
||||
[testenv:pep8]
|
||||
commands = flake8 {posargs}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user