openstack-operator/tox.ini
Mohammed Naser b46a756d48 Fix start-up for Neutron
Depends-On: https://review.opendev.org/747030
Change-Id: I844cd252bbbb43ba5f0284c48b06bd1de8503161
2020-08-20 14:49:22 -05:00

43 lines
692 B
INI

[tox]
minversion = 3.1.1
envlist = py37
[testenv]
usedevelop = True
passenv =
OS_*
OPERATOR_NAMESPACE
deps =
-rtest-requirements.txt
-rrequirements.txt
commands =
stestr run {posargs}
stestr slowest
[testenv:update-zuul-jobs]
deps =
dockerfile
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]
skip_install = true
deps =
-r{toxinidir}/doc/requirements.txt
commands =
doc8 doc/source
sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html