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