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
This commit is contained in:
karlicoss 2023-01-30 23:37:43 +00:00
parent 54e6fe6ab5
commit 11b6e51c90

View file

@ -1,5 +1,6 @@
[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
@ -7,9 +8,11 @@ toxworkdir={env:TOXWORKDIR_BASE:}{toxinidir}/.tox
[testenv]
passenv =
# useful for tests to know they are running under ci
CI CI_*
CI
CI_*
# respect user's cache dirs to prevent tox from crapping into project dir
MYPY_CACHE_DIR PYTHONPYCACHEPREFIX
MYPY_CACHE_DIR
PYTHONPYCACHEPREFIX
# just the very core tests with minimal dependencies