Merge "tox: Unset basepython"
This commit is contained in:
commit
d56f0ccf7e
7
tox.ini
7
tox.ini
|
@ -3,13 +3,8 @@ minversion = 3.18.0
|
||||||
# python runtimes: https://governance.openstack.org/tc/reference/runtimes/ussuri.html
|
# python runtimes: https://governance.openstack.org/tc/reference/runtimes/ussuri.html
|
||||||
envlist = functional-py39,py39,pep8
|
envlist = functional-py39,py39,pep8
|
||||||
skip_missing_interpreters = true
|
skip_missing_interpreters = true
|
||||||
# this allows tox to infer the base python from the environment name
|
|
||||||
# and override any basepython configured in this file
|
|
||||||
ignore_basepython_conflict=true
|
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
# Set default python version
|
|
||||||
basepython = python3
|
|
||||||
setenv =
|
setenv =
|
||||||
VIRTUAL_ENV={envdir}
|
VIRTUAL_ENV={envdir}
|
||||||
PYTHONWARNINGS=default::DeprecationWarning
|
PYTHONWARNINGS=default::DeprecationWarning
|
||||||
|
@ -37,7 +32,6 @@ passenv =
|
||||||
*_PROXY
|
*_PROXY
|
||||||
|
|
||||||
[testenv:functional]
|
[testenv:functional]
|
||||||
# this will use whatever the system python3 is
|
|
||||||
setenv =
|
setenv =
|
||||||
TEST_PATH = ./glance/tests/functional
|
TEST_PATH = ./glance/tests/functional
|
||||||
commands = stestr run {posargs}
|
commands = stestr run {posargs}
|
||||||
|
@ -59,7 +53,6 @@ setenv =
|
||||||
commands = {[testenv:functional]commands}
|
commands = {[testenv:functional]commands}
|
||||||
|
|
||||||
[testenv:genpolicy]
|
[testenv:genpolicy]
|
||||||
basepython = python3
|
|
||||||
commands =
|
commands =
|
||||||
oslopolicy-sample-generator --config-file=etc/glance-policy-generator.conf
|
oslopolicy-sample-generator --config-file=etc/glance-policy-generator.conf
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue