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:
Michael Johnson 2018-03-28 17:05:20 -07:00
parent e2f2a10d5e
commit 592d1790c7
3 changed files with 6 additions and 7 deletions

View File

@ -176,3 +176,7 @@ deps =
-c{toxinidir}/lower-constraints.txt
-r{toxinidir}/test-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}'

View File

@ -1,7 +0,0 @@
- project:
check:
jobs:
- openstack-tox-lower-constraints
gate:
jobs:
- openstack-tox-lower-constraints

View File

@ -11,6 +11,7 @@
- neutron-lbaasv2-dsvm-py3x-scenario:
branches: ^(?!stable/ocata).*$
voting: false
- openstack-tox-lower-constraints
- openstack-tox-functional:
irrelevant-files:
- ^.*\.rst$
@ -39,6 +40,7 @@
gate:
queue: octavia
jobs:
- openstack-tox-lower-constraints
- openstack-tox-functional:
irrelevant-files:
- ^.*\.rst$