summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tox.ini9
1 files changed, 9 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 3bc83a2a..1160072a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -137,6 +137,15 @@ passenv = HOME TRAVIS
deps =
-r{toxinidir}/integration-requirements.txt
+[testenv:integration-tests]
+basepython = python3
+commands = {envpython} -m pytest --log-cli-level=INFO {posargs:tests/integration_tests}
+passenv = CLOUD_INIT_*
+# test-requirements.txt is required for ./conftest.py to import successfully
+deps =
+ -r{toxinidir}/integration-requirements.txt
+ -r{toxinidir}/test-requirements.txt
+
[pytest]
# TODO: s/--strict/--strict-markers/ once xenial support is dropped
testpaths = cloudinit tests/unittests