diff options
author | Stephen Finucane <stephenfin@redhat.com> | 2019-04-01 14:35:15 +0100 |
---|---|---|
committer | Stephen Finucane <stephenfin@redhat.com> | 2019-04-01 14:35:15 +0100 |
commit | 1cbaa2969bb224b5396d36d9c2b91dae85b47dc3 (patch) | |
tree | 0697c6f7ee5fab7a59f6c3a5997e6644f70b91d6 /tox.ini | |
parent | db5cc667ee858384b7db1a031a1244993bee7876 (diff) | |
download | zuul-1cbaa2969bb224b5396d36d9c2b91dae85b47dc3.tar.gz |
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>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 73 |
1 files changed, 44 insertions, 29 deletions
@@ -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; |