Skip to content

Commit 045cb22

Browse files
committed
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. tox-dev/tox#425 (comment) Change-Id: I060355cf8d8fb76d3172d977c3aa17e28dceee1d
1 parent f34b94a commit 045cb22

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tox.ini

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ commands =
3131
sphinx-build -a -E -W -j auto -d doc/build/doctrees -b html doc/source doc/build/html
3232

3333
[testenv:docs-starlingxdocs]
34-
envdir = {toxworkdir}/docs
3534
commands =
3635
rm -rf doc/build/html doc/build/doctrees
3736
sphinx-build -a -E -W -j auto -d doc/build/doctrees -b html -D html_theme=starlingxdocs doc/source doc/build/html
@@ -63,14 +62,12 @@ commands =
6362
sphinx-build -a -E -W -j auto -d api-ref/build/doctrees -b html -D html_theme=starlingxdocs api-ref/source api-ref/build/html
6463

6564
[testenv:pdf-docs]
66-
envdir = {toxworkdir}/docs
6765
commands =
6866
rm -rf doc/build/pdf
6967
sphinx-build -a -E -W -j auto -b latex doc/source doc/build/pdf
7068
make -C doc/build/pdf
7169

7270
[testenv:pdf-docs-starlingxdocs]
73-
envdir = {toxworkdir}/docs
7471
commands =
7572
rm -rf doc/build/pdf
7673
sphinx-build -a -E -W -j auto -b latex -D html_theme=starlingxdocs doc/source doc/build/pdf

0 commit comments

Comments
 (0)