Illyoung Choi | 5d59ab6 | 2019-06-24 16:15:27 -0700 | [diff] [blame] | 1 | ; Copyright 2019-present Open Networking Foundation |
| 2 | ; |
| 3 | ; Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | ; you may not use this file except in compliance with the License. |
| 5 | ; You may obtain a copy of the License at |
| 6 | ; |
| 7 | ; http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | ; |
| 9 | ; Unless required by applicable law or agreed to in writing, software |
| 10 | ; distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | ; See the License for the specific language governing permissions and |
| 13 | ; limitations under the License. |
| 14 | |
| 15 | [tox] |
Illyoung Choi | fe121d0 | 2019-07-16 10:47:41 -0700 | [diff] [blame] | 16 | envlist = py27 |
| 17 | ;,py35,py36,py37 |
| 18 | skip_missing_interpreters = true |
Illyoung Choi | 5d59ab6 | 2019-06-24 16:15:27 -0700 | [diff] [blame] | 19 | skipsdist = True |
| 20 | |
| 21 | [testenv] |
| 22 | deps = |
| 23 | -r requirements.txt |
Illyoung Choi | 5d59ab6 | 2019-06-24 16:15:27 -0700 | [diff] [blame] | 24 | nose2 |
| 25 | flake8 |
Illyoung Choi | fe121d0 | 2019-07-16 10:47:41 -0700 | [diff] [blame] | 26 | |
Illyoung Choi | 5d59ab6 | 2019-06-24 16:15:27 -0700 | [diff] [blame] | 27 | commands = |
| 28 | nose2 -c tox.ini --verbose --junit-xml |
Illyoung Choi | fe121d0 | 2019-07-16 10:47:41 -0700 | [diff] [blame] | 29 | flake8 |
Illyoung Choi | 5d59ab6 | 2019-06-24 16:15:27 -0700 | [diff] [blame] | 30 | |
| 31 | [flake8] |
| 32 | max-line-length = 119 |
Illyoung Choi | fe121d0 | 2019-07-16 10:47:41 -0700 | [diff] [blame] | 33 | exclude = |
| 34 | .tox |
| 35 | build |
| 36 | workflow_examples |
| 37 | test/workflow_examples |
Illyoung Choi | 5d59ab6 | 2019-06-24 16:15:27 -0700 | [diff] [blame] | 38 | |
| 39 | [unittest] |
| 40 | plugins = nose2.plugins.junitxml |
| 41 | |
| 42 | [junit-xml] |
| 43 | path = nose2-results.xml |
| 44 | |
| 45 | [coverage] |
Illyoung Choi | fe121d0 | 2019-07-16 10:47:41 -0700 | [diff] [blame] | 46 | always-on = True |
| 47 | coverage = |
| 48 | src |
| 49 | test |
Illyoung Choi | 5d59ab6 | 2019-06-24 16:15:27 -0700 | [diff] [blame] | 50 | coverage-report = |
| 51 | term |
| 52 | xml |