Test tox 4 - DO NOT MERGE
Change-Id: I8664bbd473b84be0b8c90db16ecd280bb9f8b077 Signed-off-by: Ron Stone <ronald.stone@windriver.com>
This commit is contained in:
parent
7d6847d59a
commit
a1f135ab9c
@ -1,7 +1,8 @@
|
|||||||
---
|
---
|
||||||
- project:
|
- project:
|
||||||
vars:
|
vars:
|
||||||
ensure_tox_version: '<4'
|
# ensure_tox_version: '<4'
|
||||||
|
ensure_tox_version: '>=4.14.2'
|
||||||
templates:
|
templates:
|
||||||
- stx-api-ref-jobs
|
- stx-api-ref-jobs
|
||||||
check:
|
check:
|
||||||
|
12
tox.ini
12
tox.ini
@ -40,7 +40,7 @@ commands =
|
|||||||
sphinx-build -a -E -W --keep-going -d doc/build/doctrees -t starlingx -t openstack -t virtual -b html doc/source doc/build/html {posargs}
|
sphinx-build -a -E -W --keep-going -d doc/build/doctrees -t starlingx -t openstack -t virtual -b html doc/source doc/build/html {posargs}
|
||||||
{[testenv:postbuild-docs]commands}
|
{[testenv:postbuild-docs]commands}
|
||||||
# Note: The dev env for the docs team uses a version of tox that does not yet support allowlist_externals
|
# Note: The dev env for the docs team uses a version of tox that does not yet support allowlist_externals
|
||||||
whitelist_externals = bash
|
allowlist_externals = bash
|
||||||
hide-empty-rows.sh
|
hide-empty-rows.sh
|
||||||
htmlChecks.sh
|
htmlChecks.sh
|
||||||
get-remote-files.sh
|
get-remote-files.sh
|
||||||
@ -55,7 +55,7 @@ commands =
|
|||||||
{[testenv:prebuild-docs]commands}
|
{[testenv:prebuild-docs]commands}
|
||||||
sphinx-build -a -E -W --keep-going -d doc/build/doctrees -t starlingx -t openstack -b singlehtml doc/source doc/build/singlepage {posargs}
|
sphinx-build -a -E -W --keep-going -d doc/build/doctrees -t starlingx -t openstack -b singlehtml doc/source doc/build/singlepage {posargs}
|
||||||
{[testenv:postbuild-docs]commands}
|
{[testenv:postbuild-docs]commands}
|
||||||
whitelist_externals = bash
|
allowlist_externals = bash
|
||||||
hide-empty-rows.sh
|
hide-empty-rows.sh
|
||||||
htmlChecks.sh
|
htmlChecks.sh
|
||||||
get-remote-files.sh
|
get-remote-files.sh
|
||||||
@ -66,10 +66,10 @@ deps = {[testenv:docs]deps}
|
|||||||
commands =
|
commands =
|
||||||
rm -rf api-ref/build
|
rm -rf api-ref/build
|
||||||
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
|
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
|
||||||
whitelist_externals = rm
|
allowlist_externals = rm
|
||||||
|
|
||||||
[testenv:linters]
|
[testenv:linters]
|
||||||
whitelist_externals = bash
|
allowlist_externals = bash
|
||||||
commands =
|
commands =
|
||||||
bash -c "find {toxinidir} \
|
bash -c "find {toxinidir} \
|
||||||
\( -name .tox -prune \) \
|
\( -name .tox -prune \) \
|
||||||
@ -87,13 +87,13 @@ passenv=PWD
|
|||||||
commands =
|
commands =
|
||||||
bash -c "echo Running in {env:PWD}"
|
bash -c "echo Running in {env:PWD}"
|
||||||
bash new-topic.sh {env:PWD} {toxinidir}
|
bash new-topic.sh {env:PWD} {toxinidir}
|
||||||
whitelist_externals = new-topic.sh
|
allowlist_externals = new-topic.sh
|
||||||
bash
|
bash
|
||||||
|
|
||||||
[testenv:picks]
|
[testenv:picks]
|
||||||
commands =
|
commands =
|
||||||
./pickCompare.sh
|
./pickCompare.sh
|
||||||
whitelist_externals = pickCompare.sh
|
allowlist_externals = pickCompare.sh
|
||||||
bash
|
bash
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user