Merge "Add tox "requirements" env"

This commit is contained in:
Zuul 2019-06-22 23:17:41 +00:00 committed by Gerrit Code Review
commit dd6a93d62c
1 changed files with 8 additions and 0 deletions

View File

@ -83,3 +83,11 @@ deps =
whitelist_externals = sh
commands =
sh -c 'OS_TEST_PATH={toxinidir}/octavia_lib/tests/unit stestr run {posargs}'
[testenv:requirements]
basepython = python3
deps =
-egit+https://opendev.org/openstack/requirements#egg=openstack-requirements
whitelist_externals = sh
commands =
sh -c '{envdir}/src/openstack-requirements/playbooks/files/project-requirements-change.py --req {envdir}/src/openstack-requirements --local {toxinidir} master'