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 committed by Sean Breckenridge
parent 24c87e423b
commit 8d70dd725d

15
tox.ini
View file

@ -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