Set lower-constraint to run unit and functional
This sets up the lower-constraint tox environment to run both the unit and functional tests. This should provide better coverage. Change-Id: Ibef3a77ccdd5ee19ead8f9932f58f96b61ed7aa5
This commit is contained in:
parent
e2f2a10d5e
commit
592d1790c7
4
tox.ini
4
tox.ini
@ -176,3 +176,7 @@ deps =
|
|||||||
-c{toxinidir}/lower-constraints.txt
|
-c{toxinidir}/lower-constraints.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
|
whitelist_externals = sh
|
||||||
|
commands =
|
||||||
|
sh -c 'OS_TEST_PATH={toxinidir}/octavia/tests/unit stestr run {posargs}'
|
||||||
|
sh -c 'OS_TEST_PATH={toxinidir}/octavia/tests/functional stestr run {posargs}'
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
- project:
|
|
||||||
check:
|
|
||||||
jobs:
|
|
||||||
- openstack-tox-lower-constraints
|
|
||||||
gate:
|
|
||||||
jobs:
|
|
||||||
- openstack-tox-lower-constraints
|
|
@ -11,6 +11,7 @@
|
|||||||
- neutron-lbaasv2-dsvm-py3x-scenario:
|
- neutron-lbaasv2-dsvm-py3x-scenario:
|
||||||
branches: ^(?!stable/ocata).*$
|
branches: ^(?!stable/ocata).*$
|
||||||
voting: false
|
voting: false
|
||||||
|
- openstack-tox-lower-constraints
|
||||||
- openstack-tox-functional:
|
- openstack-tox-functional:
|
||||||
irrelevant-files:
|
irrelevant-files:
|
||||||
- ^.*\.rst$
|
- ^.*\.rst$
|
||||||
@ -39,6 +40,7 @@
|
|||||||
gate:
|
gate:
|
||||||
queue: octavia
|
queue: octavia
|
||||||
jobs:
|
jobs:
|
||||||
|
- openstack-tox-lower-constraints
|
||||||
- openstack-tox-functional:
|
- openstack-tox-functional:
|
||||||
irrelevant-files:
|
irrelevant-files:
|
||||||
- ^.*\.rst$
|
- ^.*\.rst$
|
||||||
|
Loading…
x
Reference in New Issue
Block a user