Mohammed Naser 66b6315d09 Added basic unit tests
Change-Id: I51aad25c9b2930744974cf7619c0636600203b66
2020-04-16 23:35:26 -04:00

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