kuryr-tempest-plugin/tox.ini
Michał Dulko 82934553ab Update tox.ini for new tox version
Seems like passenv directive in tox.ini needs to separate multiple
environment variable names by comma now. This commit updates tox.ini
to respect that.

Change-Id: Icf63fe7697b31af29ca7e1b9de5c78874f52efe1
2023-01-02 11:53:25 +01:00

37 lines
870 B
INI

[tox]
envlist = py38,pep8
minversion = 3.1.1
skipsdist = True
ignore_basepython_conflict = True
[testenv]
basepython = python3
usedevelop = True
setenv =
VIRTUAL_ENV={envdir}
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = ostestr {posargs}
passenv = http_proxy,HTTP_PROXY,https_proxy,HTTPS_PROXY,no_proxy,NO_PROXY,OS_*
[testenv:venv]
commands = {posargs}
passenv = OS_*
[testenv:docs]
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:pep8]
commands =
flake8 {posargs}
[flake8]
show-source = true
builtins = _
exclude=.venv,.git,.tox,dist,*lib/python*,*egg,tools,doc