f878ef48b5
sphinx version also updated Depends-On: I2c61e753e55340b19ab941fd532de0cab875d51c Change-Id: I80ae1fc69d5e8e2a31ac52c02a1604225eefba3c
38 lines
593 B
INI
38 lines
593 B
INI
[tox]
|
|
skipsdist = True
|
|
envlist = linters,docs
|
|
minversion = 4.13
|
|
|
|
|
|
[testenv]
|
|
usedevelop=False
|
|
skip_install = true
|
|
|
|
|
|
[testenv:linters]
|
|
deps =
|
|
-r {toxinidir}/linters-requirements.txt
|
|
|
|
commands =
|
|
pre-commit --version
|
|
pre-commit autoupdate
|
|
pre-commit run --all-files
|
|
pre-commit install
|
|
|
|
|
|
[testenv:docs]
|
|
deps =
|
|
-r{toxinidir}/doc/requirements.txt
|
|
changedir = doc/source
|
|
commands =
|
|
sphinx-build -W -b html . ../build/html
|
|
|
|
|
|
[testenv:functional]
|
|
deps =
|
|
-r test-requirements.txt
|
|
setenv =
|
|
TESTS_DIR = {toxinidir}/tests/functional
|
|
commands =
|
|
pytest {posargs:{env:TESTS_DIR}}
|