Merge "Acumos Adapter updates to support v3 schema"
[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 # Copyright (c) 2021 highstreet technologies GmbH. All rights reserved.
6 # =============================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10 #
11 #      http://www.apache.org/licenses/LICENSE-2.0
12 #
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 # ============LICENSE_END======================================================
19
20 [tox]
21 envlist = py39,flake8
22
23 [testenv]
24 whitelist_externals =
25     npm
26 deps=
27     pytest
28     coverage
29     pytest-cov
30     nodeenv
31 setenv =
32     PYTHONPATH={toxinidir}
33 commands=
34     nodeenv -p
35     npm install --global protobuf-jsonschema
36     pytest --verbose --junitxml xunit-results.xml --cov aoconversion  --cov-report xml --cov-report html --cov-report term
37
38 [testenv:flake8]
39 basepython = python3.9
40 skip_install = true
41 deps = flake8
42 commands = flake8 setup.py aoconversion tests
43
44 [flake8]
45 extend-ignore = E501