move plugins from from ccsdk to dcaegen2
[dcaegen2/platform/plugins.git] / helm / tox.ini
1 # ============LICENSE_START====================================================
2 # =============================================================================
3 # Copyright (c) 2020 AT&T Intellectual Property. All rights reserved.
4 # Copyright (c) 2020 Pantheon.tech. 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 = flake8,py27,py36,py37,py38
21 skip_missing_interpreters = true
22
23 [testenv:py27]
24 deps =
25     # this fixes issue with tox installing coverage --pre
26     coverage==3.7.1
27     nose-cov
28     mock
29     testfixtures
30     nose
31     -rrequirements.txt
32
33 [testenv:py36]
34 deps =
35     coverage
36     nose-cov
37     mock
38     testfixtures
39     nose
40     -rrequirements.txt
41
42 [testenv:py37]
43 deps =
44     coverage
45     nose-cov
46     mock
47     testfixtures
48     nose
49     -rrequirements.txt
50
51 [testenv:py38]
52 deps =
53     coverage
54     nose-cov
55     mock
56     testfixtures
57     nose
58     -rrequirements.txt
59
60 [testenv]
61 passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
62
63 # commands=nosetests --with-cov --cov-report term-missing --cov plugin plugin/tests
64 # commands=nosetests --with-xunit --with-cov --cov-report=xml --cov plugin plugin/tests
65 commands=nosetests --with-xunit --with-cov --cov-report=xml --cov plugin 
66     coverage report
67     coverage html
68
69 [flake8]
70 ignore=E302,F401,E501,E712,F811,F841,E127,E128.W291
71
72 [testenv:flake8]
73 deps =
74     flake8
75     -rrequirements.txt
76 commands=flake8 plugin