CloudKitty Horizon Plugin
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.

61 lines
1.5 KiB

minversion = 2.0
envlist = py36,py38,pep8
skipsdist = True
ignore_basepython_conflict = True
basepython = python3
usedevelop = True
install_command = pip install -c{env:TOX_CONSTRAINTS_FILE:} -U {opts} {packages}
setenv =
deps = -r{toxinidir}/requirements.txt
commands =
stestr run --slowest {posargs}
commands = flake8
commands = {posargs}
setenv =
PYTHON=coverage run --source cloudkittydashboard --parallel-mode
commands =
stestr run {posargs}
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -W --keep-going -b html doc/source doc/build/html
envdir = {toxworkdir}/docs
deps = {[testenv:docs]deps}
whitelist_externals =
commands =
sphinx-build -W --keep-going -b latex doc/source doc/build/pdf
make -C doc/build/pdf
commands = oslo_debug_helper -t cloudkittydashboard/tests {posargs}
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
ignore = E123,E125
builtins = _
deps = -r{toxinidir}/doc/requirements.txt
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html