tox: Drop envdir
tox now always recreates an env although the env is shared using envdir options. ~~~ $ tox -e genpolicy genpolicy: recreate env because env type changed from {'name': 'genconfig', 'type': 'VirtualEnvRunner'} to {'name': 'genpolicy', 'type': 'VirtualEnvRunner'} ~~~ According to the maintainer of tox, this functionality is not intended to be supported. https://github.com/tox-dev/tox/issues/425#issuecomment-1011944293 Change-Id: I3645be3c1fdf344c1b47d548c49fd804a03b0dff
This commit is contained in:
parent
a40c18d64e
commit
2ea53eb37d
2
tox.ini
2
tox.ini
|
@ -64,13 +64,11 @@ commands =
|
|||
[testenv:pep8]
|
||||
description =
|
||||
Run style checks.
|
||||
envdir = {toxworkdir}/shared
|
||||
commands = flake8 {posargs}
|
||||
|
||||
[testenv:cover]
|
||||
description =
|
||||
Run unit tests with coverage enabled.
|
||||
envdir = {toxworkdir}/shared
|
||||
setenv =
|
||||
{[testenv]setenv}
|
||||
PYTHON=coverage run --source osc_placement --parallel-mode
|
||||
|
|
Loading…
Reference in New Issue