Add venv tox environment
This is useful for running commands such as reno. TrivialFix Change-Id: I05f4c411a6353d4861aa9d5ac9162f0a56e7ca73
This commit is contained in:
parent
4f20ed32f6
commit
21afcc52fe
8
tox.ini
8
tox.ini
|
@ -37,6 +37,14 @@ deps =
|
|||
-r{toxinidir}/doc/requirements.txt
|
||||
commands = sphinx-build -W -b html doc/source doc/build/html
|
||||
|
||||
[testenv:venv]
|
||||
basepython = python3
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/rocky}
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:cover]
|
||||
basepython = python3
|
||||
setenv =
|
||||
|
|
Loading…
Reference in New Issue