From 8d70dd725dec01eb71a422b6f1b95cf3a16b8163 Mon Sep 17 00:00:00 2001 From: karlicoss Date: Mon, 30 Jan 2023 23:37:43 +0000 Subject: [PATCH] ci: fix tox config seems that after version 4.0 it's necessary to specify environments to run previosly it was picking them up automatically --- tox.ini | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/tox.ini b/tox.ini index 1761a8f..f77e73e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,17 +1,18 @@ [tox] minversion = 3.5 +envlist = tests-core,tests-all,demo,mypy-core,mypy-misc # https://github.com/tox-dev/tox/issues/20#issuecomment-247788333 # hack to prevent .tox from crapping to the project directory toxworkdir={env:TOXWORKDIR_BASE:}{toxinidir}/.tox [testenv] -passenv = - # useful for tests to know they are running under ci - CI - CI_* - # respect user's cache dirs to prevent tox from crapping into project dir - MYPY_CACHE_DIR - PYTHONPYCACHEPREFIX +passenv = +# useful for tests to know they are running under ci + CI + CI_* +# respect user's cache dirs to prevent tox from crapping into project dir + MYPY_CACHE_DIR + PYTHONPYCACHEPREFIX # just the very core tests with minimal dependencies