summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-03-22 17:33:47 -0400
committerDoug Hellmann <doug@doughellmann.com>2018-03-24 21:02:26 -0400
commitf659198dfcada1825d5241aaf1946fabedec9473 (patch)
treea3630c7938550a5fe583e8896acd50e25f7cb92a /tox.ini
parentacd1ceb69906b8357ec7c60257651d4731aad08e (diff)
downloadoslo-db-f659198dfcada1825d5241aaf1946fabedec9473.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: I33404e115161a430ce0587bf203450c8145db0a0 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 6deb9fc..1e215ea 100644
--- a/tox.ini
+++ b/tox.ini
@@ -72,3 +72,10 @@ import_exceptions =
# of the requirements.txt files
deps = pip_missing_reqs
commands = pip-missing-reqs -d --ignore-module=oslo_db* --ignore-module=pkg_resources --ignore-file=oslo_db/tests/* oslo_db
+
+[testenv:lower-constraints]
+basepython = python3
+deps =
+ -c{toxinidir}/lower-constraints.txt
+ -r{toxinidir}/test-requirements.txt
+ -r{toxinidir}/requirements.txt