From 26d6e9adcf87cc9a9aa17c669f3c841157c6f528 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Thu, 25 Nov 2021 14:56:57 +0000 Subject: [PATCH] Workaround for tox w/o setup.py bug Related: https://github.com/tox-dev/tox/issues/2197 --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 5ced7dbd19..a7b2c1e3b5 100644 --- a/tox.ini +++ b/tox.ini @@ -18,7 +18,9 @@ requires = pip >= 20.2.4 [testenv] -usedevelop = True +# usedevelop fails due to https://github.com/tox-dev/tox/issues/2197 +usedevelop = False + # do not put * in passenv as it may break builds do to reduced isolation passenv = CI @@ -45,6 +47,7 @@ setenv = PYTHONUNBUFFERED=1 _EXTRAS=-l --cov=molecule --no-cov-on-fail --cov-report xml:{envlogdir}/coverage.xml --html={envlogdir}/reports.html --self-contained-html deps = + -e . devel: git+https://github.com/ansible/ansible#egg=ansible-core # pytest-molecule not used but we want to check that it does not conflict devel: git+https://github.com/ansible-community/pytest-molecule#egg=pytest-molecule