tox: Fix indentation
Yes, this is purely stylistic and does screw up git log, but it's a heck of a lot easier to work with in this way. Change-Id: Ie20ad2fc62be83181826cbdad64ba951d43534e8 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
parent
db5cc667ee
commit
1cbaa2969b
73
tox.ini
73
tox.ini
|
@ -7,26 +7,30 @@ ignore_basepython_conflict = True
|
|||
[testenv]
|
||||
basepython = python3
|
||||
install_command = bash tools/pip.sh {opts} {packages}
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
OS_TEST_TIMEOUT=240
|
||||
OS_STDOUT_CAPTURE={env:OS_STDOUT_CAPTURE:1}
|
||||
OS_STDERR_CAPTURE={env:OS_STDERR_CAPTURE:1}
|
||||
OS_LOG_CAPTURE={env:OS_LOG_CAPTURE:1}
|
||||
OS_LOG_DEFAULTS={env:OS_LOG_DEFAULTS:""}
|
||||
passenv = ZUUL_TEST_ROOT
|
||||
OS_STDOUT_CAPTURE
|
||||
OS_STDERR_CAPTURE
|
||||
OS_LOG_CAPTURE
|
||||
OS_LOG_DEFAULTS
|
||||
NODEPOOL_ZK_HOST
|
||||
ZUUL_MYSQL_HOST
|
||||
ZUUL_POSTGRES_HOST
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
OS_TEST_TIMEOUT=240
|
||||
OS_STDOUT_CAPTURE={env:OS_STDOUT_CAPTURE:1}
|
||||
OS_STDERR_CAPTURE={env:OS_STDERR_CAPTURE:1}
|
||||
OS_LOG_CAPTURE={env:OS_LOG_CAPTURE:1}
|
||||
OS_LOG_DEFAULTS={env:OS_LOG_DEFAULTS:""}
|
||||
passenv =
|
||||
ZUUL_TEST_ROOT
|
||||
OS_STDOUT_CAPTURE
|
||||
OS_STDERR_CAPTURE
|
||||
OS_LOG_CAPTURE
|
||||
OS_LOG_DEFAULTS
|
||||
NODEPOOL_ZK_HOST
|
||||
ZUUL_MYSQL_HOST
|
||||
ZUUL_POSTGRES_HOST
|
||||
usedevelop = True
|
||||
whitelist_externals = bash
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands = stestr run {posargs}
|
||||
stestr slowest
|
||||
deps =
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands =
|
||||
stestr run {posargs}
|
||||
stestr slowest
|
||||
|
||||
[testenv:bindep]
|
||||
# Do not install any requirements. We want this to be fast and work even if
|
||||
|
@ -49,18 +53,19 @@ commands =
|
|||
[testenv:cover]
|
||||
install_command = pip install {opts} {packages}
|
||||
setenv =
|
||||
{[testenv]setenv}
|
||||
PYTHON=coverage run --source zuul --parallel-mode
|
||||
{[testenv]setenv}
|
||||
PYTHON=coverage run --source zuul --parallel-mode
|
||||
commands =
|
||||
stestr run {posargs}
|
||||
coverage combine
|
||||
coverage html -d cover
|
||||
coverage xml -o cover/coverage.xml
|
||||
stestr run {posargs}
|
||||
coverage combine
|
||||
coverage html -d cover
|
||||
coverage xml -o cover/coverage.xml
|
||||
|
||||
[testenv:docs]
|
||||
install_command = pip install {opts} {packages}
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
deps =
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands =
|
||||
sphinx-build -E -W -d doc/build/doctrees -b html doc/source/ doc/build/html
|
||||
|
||||
|
@ -69,11 +74,21 @@ install_command = pip install {opts} {packages}
|
|||
commands = {posargs}
|
||||
|
||||
[testenv:nodepool]
|
||||
commands = stestr run --concurrency=1 --test-path ./tests/nodepool {posargs}
|
||||
commands =
|
||||
stestr run --concurrency=1 --test-path ./tests/nodepool {posargs}
|
||||
|
||||
[testenv:remote]
|
||||
commands = stestr run --test-path ./tests/remote {posargs}
|
||||
passenv = ZUUL_TEST_ROOT OS_STDOUT_CAPTURE OS_STDERR_CAPTURE OS_LOG_CAPTURE OS_LOG_DEFAULTS ZUUL_REMOTE_IPV4 ZUUL_SSH_KEY NODEPOOL_ZK_HOST
|
||||
passenv =
|
||||
ZUUL_TEST_ROOT
|
||||
OS_STDOUT_CAPTURE
|
||||
OS_STDERR_CAPTURE
|
||||
OS_LOG_CAPTURE
|
||||
OS_LOG_DEFAULTS
|
||||
NODEPOOL_ZK_HOST
|
||||
ZUUL_REMOTE_IPV4
|
||||
ZUUL_SSH_KEY
|
||||
commands =
|
||||
stestr run --test-path ./tests/remote {posargs}
|
||||
|
||||
[flake8]
|
||||
# These are ignored intentionally in openstack-infra projects;
|
||||
|
|
Loading…
Reference in New Issue