summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-03-22 17:44:58 -0400
committerDoug Hellmann <doug@doughellmann.com>2018-04-07 21:34:03 -0400
commit823cbb6e6e94cec513a465273720ce26bbc3cfa6 (patch)
tree1b72da3fed0d1a96d2fc5753965ce2670e1bc3d3 /tox.ini
parentca115b1d60164a94b2557aacc405a1ae27cef2f3 (diff)
downloadpython-cinderclient-823cbb6e6e94cec513a465273720ce26bbc3cfa6.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: Ib36375525dd11d62d9f5566c714e76876892d9d7 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 62a2f79..f60267f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -76,3 +76,10 @@ passenv = OS_*
show-source = True
ignore = H404,H405,E122,E123,E128,E251
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
+
+[testenv:lower-constraints]
+basepython = python3
+deps =
+ -c{toxinidir}/lower-constraints.txt
+ -r{toxinidir}/test-requirements.txt
+ -r{toxinidir}/requirements.txt