Eric Ball | f1055a9 | 2024-09-05 11:01:28 -0700 | [diff] [blame] | 1 | ; Copyright 2019-2024 Open Networking Foundation (ONF) and the ONF Contributors |
Zack Williams | 5220966 | 2019-02-07 10:15:31 -0700 | [diff] [blame] | 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] |
Eric Ball | f1055a9 | 2024-09-05 11:01:28 -0700 | [diff] [blame] | 16 | envlist = py36,py37,3.10.6 |
Zack Williams | 5220966 | 2019-02-07 10:15:31 -0700 | [diff] [blame] | 17 | skip_missing_interpreters = true |
| 18 | |
| 19 | [testenv] |
| 20 | deps = |
| 21 | nose2 |
| 22 | |
| 23 | commands = |
| 24 | nose2 -c tox.ini --verbose --junit-xml |
| 25 | |
| 26 | [flake8] |
| 27 | max-line-length = 119 |
| 28 | |
| 29 | [unittest] |
| 30 | plugins=nose2.plugins.junitxml |
| 31 | |
| 32 | [junit-xml] |
| 33 | path=nose2-results.xml |
| 34 | |
| 35 | [coverage] |
| 36 | always-on = True |
| 37 | coverage = |
| 38 | python |
| 39 | coverage-report = |
| 40 | xml |
| 41 | term |
Joey Armstrong | 6a6c629 | 2024-04-30 16:07:38 -0400 | [diff] [blame] | 42 | |
| 43 | ; [SEE ALSO] |
| 44 | ; https://tox.wiki/en/latest/cli_interface.html |
| 45 | ; https://docs.nose2.io/en/latest/usage.html |
| 46 | |
| 47 | ; [EOF] |