summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Watkins <oddbloke@ubuntu.com>2020-11-19 00:09:49 -0500
committerGitHub <noreply@github.com>2020-11-18 22:09:49 -0700
commit49d5de92d60af4ef483a67bd4c75148e6fdc58a3 (patch)
tree6370b70ae746523d2a6cb4f3eaef8a99a0bcebe9
parent6df0230b1201d6bed8661b19d8f3758797635377 (diff)
downloadcloud-init-git-49d5de92d60af4ef483a67bd4c75148e6fdc58a3.tar.gz
tox.ini: only select "ci" marked tests for CI runs (#677)
`-k` will select tests or marks whose names match. `-m` selects only tests which have the specified mark, so is more appropriate.
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 4320ab87..c86d38e9 100644
--- a/tox.ini
+++ b/tox.ini
@@ -151,7 +151,7 @@ commands = {[testenv:integration-tests]commands}
passenv = {[testenv:integration-tests]passenv}
deps = {[testenv:integration-tests]deps}
setenv =
- PYTEST_ADDOPTS="-k ci"
+ PYTEST_ADDOPTS="-m ci"
[pytest]
# TODO: s/--strict/--strict-markers/ once xenial support is dropped