openstack-operator/tox.ini

38 lines
621 B
INI

[tox]
minversion = 3.1.1
envlist = py37
[testenv]
usedevelop = True
deps =
-rtest-requirements.txt
-rrequirements.txt
commands =
stestr run {posargs}
stestr slowest
[testenv:update-zuul-jobs]
deps =
ruamel.yaml
commands =
{toxinidir}/hack/update-zuul-jobs.py
[testenv:linters]
basepython = python3.7
commands =
pylint openstack_operator
flake8 openstack_operator
[testenv:kopf]
deps =
-rrequirements.txt
commands =
kopf run {posargs}
[testenv:docs]
deps =
-r{toxinidir}/doc/requirements.txt
commands =
doc8 doc/source
sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html