From f97385ebf9f751e799cffec5b9c56a7efcaa2935 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Tue, 7 Sep 2021 12:04:56 +0100 Subject: [PATCH] Make default tox run more strict about interpreter version Avoid false-positive CI testing with tox where misconfigured tox projects end-up skipping tests or running with different python version than the required one. While use of this option on development machine may be ok, when executed in CI context, we never want to be relaxed about what we test and which versions of python we use. I seen projects running with wrong version of python for months before someone discovered that a different version of python was used on CI. Change-Id: I5be9bce86833db11afd7072e477ccaf42658bf99 --- roles/tox/defaults/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/tox/defaults/main.yaml b/roles/tox/defaults/main.yaml index ed181d5d5..ebfb20fa6 100644 --- a/roles/tox/defaults/main.yaml +++ b/roles/tox/defaults/main.yaml @@ -1,7 +1,7 @@ --- tox_environment: {} tox_executable: tox -tox_extra_args: -vv +tox_extra_args: -vv --skip-missing-interpreters=false tox_install_siblings: true tox_inline_comments: true