diff options
author | Doug Hellmann <doug@doughellmann.com> | 2018-03-22 12:38:16 -0400 |
---|---|---|
committer | Doug Hellmann <doug@doughellmann.com> | 2018-04-09 16:02:48 -0400 |
commit | d4b31172954f0f8d5048c3cc831e50b4bf041c8a (patch) | |
tree | 7bcb59f47da2297c9adcc5d1b29cf2fadbf523d3 /tox.ini | |
parent | 6d97ea212b689348baaa59ae3677ce4f65cb58f4 (diff) | |
download | glance_store-d4b31172954f0f8d5048c3cc831e50b4bf041c8a.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: Iaf938db5d3d45a7187f2c2c619d0f86e90128fb2
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -59,7 +59,7 @@ setenv = OS_TEST_PATH=./glance_store/tests/functional/filesystem commands = ostestr --slowest --testr-args='glance_store.tests.functional.filesystem' [doc8] -ignore-path = .venv,.git,.tox,*glance_store/locale*,*lib/python*,glance_store.egg*,doc/build,*requirements.txt +ignore-path = .venv,.git,.tox,*glance_store/locale*,*lib/python*,glance_store.egg*,doc/build,*requirements.txt,lower-constraints.txt [flake8] # TODO(dmllr): Analyze or fix the warnings blacklisted below @@ -68,3 +68,10 @@ ignore-path = .venv,.git,.tox,*glance_store/locale*,*lib/python*,glance_store.eg # H405 multi line docstring summary not separated with an empty line ignore = H301,H404,H405 exclude = .venv,.git,.tox,dist,doc,etc,*glance_store/locale*,*lib/python*,*egg,build + +[testenv:lower-constraints] +basepython = python3 +deps = + -c{toxinidir}/lower-constraints.txt + -r{toxinidir}/test-requirements.txt + .[vmware,swift,cinder] |