From 3010383f10e18c84a702cfdcc3fda68b01cf083a Mon Sep 17 00:00:00 2001 From: pengyuesheng Date: Wed, 3 Jul 2019 11:47:53 +0800 Subject: [PATCH] Add lower-constraints job create a tox environment for running the unit tests against the lower bounds of the dependencies. Add openstack-tox-lower-constraints job to the zuul configuration. See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html for more details. Change-Id: Iae676c4bbd00836cc6dce0f083f7aa308bbfc372 --- .zuul.yaml | 1 + tox.ini | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/.zuul.yaml b/.zuul.yaml index a45e6fc..2d9780f 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -40,6 +40,7 @@ - project: templates: + - openstack-lower-constraints-jobs - check-requirements - openstack-cover-jobs - openstack-python-jobs diff --git a/tox.ini b/tox.ini index bf8222b..5bb36bb 100644 --- a/tox.ini +++ b/tox.ini @@ -62,3 +62,10 @@ deps = -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} -r{toxinidir}/doc/requirements.txt commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html + +[testenv:lower-constraints] +basepython = python3 +deps = + -c{toxinidir}/lower-constraints.txt + -r{toxinidir}/test-requirements.txt + -r{toxinidir}/requirements.txt