From b4f1abf9a2470adf447d8032a56a0ee17947f929 Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Mon, 5 Oct 2020 13:22:55 -0400 Subject: tox.ini: add integration-tests testenv definition (#595) --- tox.ini | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- cgit v1.2.3