Browse Source

Add tox "requirements" env

This patch adds the "requirements" env to tox to allow local
requirements test runs.

Change-Id: I00f0307784137e5f7555105f992a0ccc5bc16838
changes/24/666724/1
Michael Johnson 2 years ago
parent
commit
3a55b28428
  1. 8
      tox.ini

8
tox.ini

@ -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'
Loading…
Cancel
Save