fix tox.ini

Change-Id: Idea680f5612ff09d2814c346105988d6313c1dcf
This commit is contained in:
wangzhiqiang05 2023-11-03 14:14:36 +08:00
parent c68cb5e9da
commit 7c5b0b766b
1 changed files with 6 additions and 4 deletions

10
tox.ini
View File

@ -18,7 +18,9 @@ deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = stestr run {posargs}
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
passenv = http_proxy
https_proxy
no_proxy
[testenv:debug-py36]
basepython = python3.6
@ -48,7 +50,7 @@ deps =
commands =
rm -rf doc/build/html
sphinx-build -W -b html doc/source doc/build/html
whitelist_externals =
allowlist_externals =
rm
[testenv:pdf-docs]
@ -57,7 +59,7 @@ commands =
rm -rf doc/build/pdf
sphinx-build -W -b latex doc/source doc/build/pdf
make -C doc/build/pdf
whitelist_externals =
allowlist_externals =
make
rm
@ -68,7 +70,7 @@ deps =
commands =
rm -rf releasenotes/build releasenotes/html
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
whitelist_externals = rm
allowlist_externals = rm
[testenv:debug]
# It runs tests from the specified dir (default is sahara_plugin_spark/tests)