-
Notifications
You must be signed in to change notification settings - Fork 33
/
tox.ini
51 lines (45 loc) · 1.08 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[tox]
requires = virtualenv<20.22.0
envlist = py{27,38,39,310,311}-{linux,macos,windows}, lint, docker
skip_missing_interpreters=true
[gh-actions]
python =
3.8: py38, mypy
3.9: py39
3.10: py310
3.11: py311
[testenv]
python =
3.8: py38, mypy
3.9: py39
3.10: py310
3.11: py311
platform = lin: linux
mac: darwin
win: win32
passenv = USERNAME
adopts = --ignore=setup.py --maxfail=1 --capture=sys --cov-report term-missing --cov python-hosts
changedir = tests/
python_files = *.py
python_functions = test_
norecursedirs = .tox .git
commands =
{envpython} --version
py.test --cov-report term-missing --cov python-hosts
deps =
enum-compat
PyYAML>=3.11
pytest>=3.0.3
pytest-cov>=2.4.0
[testenv:py27]
adopts = --ignore=setup.py --maxfail=1 --capture=sys --cov-report term-missing --cov python-hosts
changedir = tests/
python_files = *.py
python_functions = test_
norecursedirs = .tox .git
commands = py.test --cov-report term-missing --cov python-hosts
deps =
enum-compat
PyYAML>=3.11
pytest>=3.0.3
pytest-cov>=2.4.0