Merge "Add tox "requirements" env"
This commit is contained in:
commit
dd6a93d62c
8
tox.ini
8
tox.ini
|
@ -83,3 +83,11 @@ deps =
|
||||||
whitelist_externals = sh
|
whitelist_externals = sh
|
||||||
commands =
|
commands =
|
||||||
sh -c 'OS_TEST_PATH={toxinidir}/octavia_lib/tests/unit stestr run {posargs}'
|
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'
|
||||||
|
|
Loading…
Reference in New Issue