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
changes/49/557549/2
Michael Johnson 5 years ago
parent e2f2a10d5e
commit 592d1790c7
  1. 4
      tox.ini
  2. 7
      zuul.d/project.yaml
  3. 2
      zuul.d/projects.yaml

@ -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}'

@ -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:
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$

Loading…
Cancel
Save