specs/tox.ini
Greg Waines d3421cc962 Adding stx-9.0 specs folder.
Signed-off-by: Greg Waines <greg.waines@windriver.com>
Change-Id: I14fb39bc93a81cddf7a139ef01f0325c84bdda85
2023-02-05 09:17:48 -05:00

32 lines
787 B
INI

[tox]
envlist = linters,docs
minversion = 2.3
skipsdist = True
[testenv]
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
OS_STDOUT_CAPTURE=1
OS_STDERR_CAPTURE=1
OS_TEST_TIMEOUT=60
deps = -r{toxinidir}/test-requirements.txt
[testenv:docs]
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
[testenv:linters]
basepython = python3
allowlist_externals = bash
commands =
bash -c "find {toxinidir} \
\( -name .tox -prune \) \
-o -type f -name '*.yaml' \
-print0 | xargs -0 yamllint"
doc8 specs/
[testenv:venv]
basepython = python3
commands = {posargs}