You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
1.5 KiB

minversion = 3.18.0
skipsdist = True
envlist = py39,pep8
ignore_basepython_conflict = True
basepython = python3
usedevelop = True
deps =
commands =
stestr run --slowest {posargs}
deps =
allowlist_externals = bash
commands =
bash integration-test/ {posargs}
setenv =
PYTHON=coverage run --source hacking --parallel-mode
commands =
stestr run {posargs}
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml
deps =
commands =
sphinx-build -W -b html doc/source doc/build/html
allowlist_externals = make
deps = {[testenv:docs]deps}
commands =
sphinx-build -W -b latex doc/source doc/build/pdf
make -C doc/build/pdf
deps =
commands =
sphinx-build -W -b html releasenotes/source releasenotes/build/html
commands = {posargs}
commands = flake8 {posargs}
exclude = .venv,.tox,dist,doc,*.egg,build
show-source = true
enable-extensions = H106
local-check = hacking.tests.test_local.check