blob: d1e9f4c53e897007d1cd5997920ba63c01c97ef3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
[tox]
envlist = pylint,yamllint,bashate,py3
[testenv]
usedevelop = True
deps =
-chttps://git.opnfv.org/functest/plain/upper-constraints.txt
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=master}
-r{toxinidir}/requirements.txt
install_command = pip install {opts} {packages}
[testenv:pep8]
basepython = python3.8
commands = flake8
[testenv:pylint]
basepython = python3.8
allowlist_externals = pylint
modules =
infra_healthcheck
commands =
pylint --disable=locally-disabled --reports=n {[testenv:pylint]modules}
[testenv:yamllint]
allowlist_externals = yamllint
basepython = python3.8
files =
docker
commands =
yamllint {[testenv:yamllint]files}
[testenv:py3]
allowlist_externals = nosetests
basepython = python3.8
commands = nosetests --with-xunit \
--with-coverage \
--cover-tests \
--cover-package=infra_healthcheck \
--cover-xml \
--cover-html \
infra_healthcheck
[testenv:bashate]
allowlist_externals = bashate
basepython = python3.8
files =
scripts/check_onap_k8s.sh
scripts/check_onap_helm.sh
commands = bashate {[testenv:bashate]files} -i E006
|