summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-03-22 13:45:58 -0400
committerDoug Hellmann <doug@doughellmann.com>2018-03-22 13:45:58 -0400
commitdc5d6590e2365e94ae5af0c1ef7dd1de50ee506e (patch)
treea7dd685d21a9fcc369d08314b627f6617d7468b5 /tox.ini
parent4810656ba3fbf7f50e1c138178927afccbfaf94c (diff)
downloadironic-python-agent-dc5d6590e2365e94ae5af0c1ef7dd1de50ee506e.tar.gz
add lower-constraints job
Create a tox environment for running the unit tests against the lower bounds of the dependencies. Create a lower-constraints.txt to be used to enforce the lower bounds in those tests. 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: I8d773d4ee3d0835fb2a9183fe2154e82db085bd5 Depends-On: https://review.openstack.org/555034 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 7 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 935d3e8c..53834d6f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -95,3 +95,10 @@ envdir = {toxworkdir}/venv
commands =
oslo-config-generator --config-file=tools/config/ipa-config-generator.conf
+
+[testenv:lower-constraints]
+basepython = python3
+deps =
+ -c{toxinidir}/lower-constraints.txt
+ -r{toxinidir}/test-requirements.txt
+ -r{toxinidir}/requirements.txt