From 4acc592694e291089a374c5fae6a6b31c5513be2 Mon Sep 17 00:00:00 2001 From: pengyuesheng Date: Wed, 3 Jul 2019 11:33:07 +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: Iac8d78c191763121cc580c5cdb070b2673e39c99 --- .zuul.yaml | 1 + tox.ini | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/.zuul.yaml b/.zuul.yaml index 06a842a5..9a432e45 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -76,6 +76,7 @@ - project: templates: + - openstack-lower-constraints-jobs - check-requirements - openstack-cover-jobs - openstack-python-jobs diff --git a/tox.ini b/tox.ini index 7ddf40e0..a542c430 100644 --- a/tox.ini +++ b/tox.ini @@ -75,3 +75,10 @@ local-check-factory = cloudkitty.hacking.checks.factory [testenv:releasenotes] basepython = python3 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