From 49d5de92d60af4ef483a67bd4c75148e6fdc58a3 Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Thu, 19 Nov 2020 00:09:49 -0500 Subject: 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. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3