summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini13
1 files changed, 10 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 30b11398..022b918d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -139,6 +139,12 @@ passenv = HOME TRAVIS
deps =
-r{toxinidir}/cloud-tests-requirements.txt
+# Until Xenial tox support is dropped or bumps to tox:2.3.2, reflect changes to
+# deps into testenv:integration-tests-ci: commands, passenv and deps.
+# This is due to (https://github.com/tox-dev/tox/issues/208) which means that
+# the {posargs} handling and substitutions won't do what we want until tox 2.3.2
+# Once Xenial is dropped, integration-tests-ci can use proper substitution
+# commands = {[testenv:integration-tests]commands}
[testenv:integration-tests]
basepython = python3
commands = {envpython} -m pytest --log-cli-level=INFO {posargs:tests/integration_tests}
@@ -147,9 +153,10 @@ deps =
-r{toxinidir}/integration-requirements.txt
[testenv:integration-tests-ci]
-commands = {[testenv:integration-tests]commands}
-passenv = {[testenv:integration-tests]passenv}
-deps = {[testenv:integration-tests]deps}
+commands = {envpython} -m pytest --log-cli-level=INFO {posargs:tests/integration_tests}
+passenv = CLOUD_INIT_*
+deps =
+ -r{toxinidir}/integration-requirements.txt
setenv =
PYTEST_ADDOPTS="-m ci"