Add venv tox environment

This is useful for running commands such as reno.

TrivialFix

Change-Id: I05f4c411a6353d4861aa9d5ac9162f0a56e7ca73
This commit is contained in:
Will Szumski 2018-11-14 17:10:38 +00:00
parent 4f20ed32f6
commit 21afcc52fe
1 changed files with 8 additions and 0 deletions

View File

@ -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 =