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:
parent
24c87e423b
commit
8d70dd725d
1 changed files with 8 additions and 7 deletions
5
tox.ini
5
tox.ini
|
@ -1,15 +1,16 @@
|
||||||
[tox]
|
[tox]
|
||||||
minversion = 3.5
|
minversion = 3.5
|
||||||
|
envlist = tests-core,tests-all,demo,mypy-core,mypy-misc
|
||||||
# https://github.com/tox-dev/tox/issues/20#issuecomment-247788333
|
# https://github.com/tox-dev/tox/issues/20#issuecomment-247788333
|
||||||
# hack to prevent .tox from crapping to the project directory
|
# hack to prevent .tox from crapping to the project directory
|
||||||
toxworkdir={env:TOXWORKDIR_BASE:}{toxinidir}/.tox
|
toxworkdir={env:TOXWORKDIR_BASE:}{toxinidir}/.tox
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
passenv =
|
passenv =
|
||||||
# useful for tests to know they are running under ci
|
# 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
|
# respect user's cache dirs to prevent tox from crapping into project dir
|
||||||
MYPY_CACHE_DIR
|
MYPY_CACHE_DIR
|
||||||
PYTHONPYCACHEPREFIX
|
PYTHONPYCACHEPREFIX
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue