diff options
author | Doug Hellmann <doug@doughellmann.com> | 2018-03-22 17:36:47 -0400 |
---|---|---|
committer | Doug Hellmann <doug@doughellmann.com> | 2018-03-24 21:02:41 -0400 |
commit | 509cf0839a0ce6732d8a76faaa85fd82735fe7e7 (patch) | |
tree | d65726e89300757f5f7b99157a87bdb62eea692d /tox.ini | |
parent | a20d7c828f04fd20a67c4d22697991426d2ca41c (diff) | |
download | oslo-policy-509cf0839a0ce6732d8a76faaa85fd82735fe7e7.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: Iea9bdd9bfe535b8a25dbef18dac52323df9af9ac
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 | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -47,3 +47,10 @@ commands = pip-missing-reqs -d --ignore-module=oslo_policy* --ignore-module=pkg_ [testenv:releasenotes] commands = sphinx-build -a -E -W -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 |