[DCAE] INFO.yaml update
[dcaegen2/platform.git] / adapter / acumos / tox.ini
1 # ============LICENSE_START====================================================
2 # org.onap.dcae
3 # =============================================================================
4 # Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
5 # =============================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 #      http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ============LICENSE_END======================================================
18
19 [tox]
20 envlist = py37,flake8
21
22 [testenv]
23 whitelist_externals =
24     npm
25 deps=
26     pytest
27     coverage
28     pytest-cov
29     nodeenv
30 setenv =
31     PYTHONPATH={toxinidir}
32 commands=
33     nodeenv -p
34     npm install --global protobuf-jsonschema
35     pytest --verbose --junitxml xunit-results.xml --cov aoconversion  --cov-report xml --cov-report html
36
37 [testenv:flake8]
38 basepython = python3.7
39 skip_install = true
40 deps = flake8
41 commands = flake8 setup.py aoconversion tests
42
43 [flake8]
44 extend-ignore = E501