diff options
author | James Falcon <TheRealFalcon@users.noreply.github.com> | 2021-06-17 14:02:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-17 13:02:44 -0600 |
commit | fbcb224bc12495ba200ab107246349d802c5d8e6 (patch) | |
tree | 7b3891f1a7ea7b9e77b8db74698be225573ee1de /tox.ini | |
parent | 1243c5a1fc1f3546b40e48a2033a9abab546e40f (diff) | |
download | vyos-cloud-init-fbcb224bc12495ba200ab107246349d802c5d8e6.tar.gz vyos-cloud-init-fbcb224bc12495ba200ab107246349d802c5d8e6.zip |
tests: Add 'adhoc' mark for integration tests (#925)
Also new jenkins tox definition
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -157,7 +157,15 @@ passenv = CLOUD_INIT_* SSH_AUTH_SOCK OS_* TRAVIS deps = -r{toxinidir}/integration-requirements.txt setenv = - PYTEST_ADDOPTS="-m ci" + PYTEST_ADDOPTS="-m ci and not adhoc" + +[testenv:integration-tests-jenkins] +commands = {envpython} -m pytest --log-cli-level=INFO {posargs:tests/integration_tests} +passenv = CLOUD_INIT_* SSH_AUTH_SOCK OS_* +deps = + -r{toxinidir}/integration-requirements.txt +setenv = + PYTEST_ADDOPTS="-m not adhoc" [pytest] # TODO: s/--strict/--strict-markers/ once xenial support is dropped @@ -190,3 +198,4 @@ markers = sru_next: test is part of the next SRU verification ubuntu: this test should run on Ubuntu unstable: skip this test because it is flakey + adhoc: only run on adhoc basis, not in any CI environment (travis or jenkins) |