Update TOX setenv
Use setenv in the [testenv] sections, not wrongly in the [tox] main section https: //github.com/tox-dev/tox/blob/master/docs/changelog.rst#documentation Change-Id: I8d3ef3c3290e8da00de6e415759a5bcdfc111d9e
This commit is contained in:
parent
6ffa1c9447
commit
7b6cbda0b3
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
|
||||
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 = pip install {env:PIP_OPTIONS:} {opts} {packages}
|
||||
# Use cinder from master instead of from PyPi. Defining the egg name we won't
|
||||
|
|
Loading…
Reference in New Issue