Merge "Update TOX setenv"

This commit is contained in:
Zuul 2021-07-02 10:21:05 +00:00 committed by Gerrit Code Review
commit 58e7c1ef4c
1 changed files with 3 additions and 4 deletions

View File

@ -3,17 +3,16 @@ minversion = 3.18.0
# python runtimes: https://governance.openstack.org/tc/reference/project-testing-interface.html#tested-runtimes
envlist = py3,pep8
skipsdist = True
setenv = VIRTUAL_ENV={envdir}
# this allows tox to infer the base python from the environment name
# and override any basepython configured in this file
# setting ignore_basepython_conflict allows tox to infer the base python
# from the environment name and override any basepython configured in this file
ignore_basepython_conflict=true
[testenv]
basepython=python3
setenv = OS_STDOUT_CAPTURE=1
OS_STDERR_CAPTURE=1
OS_TEST_TIMEOUT=60
OS_TEST_PATH=./cinderlib/tests/unit
VIRTUAL_ENV={envdir}
usedevelop=True
install_command = python -m pip install {env:PIP_OPTIONS:} {opts} {packages}
# Use cinder and os-brick from the appropriate development branch instead of