-
Notifications
You must be signed in to change notification settings - Fork 154
/
tox.ini
59 lines (55 loc) · 1.1 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
50
51
52
53
54
55
56
57
58
59
[tox]
minversion = 3.7
skip_missing_interpreters = True
envlist =
clean
report
py3{7,8,9,10,11,12}-{linux,darwin,windows}
[testenv]
deps =
aiofiles>=0.6.0
bcrypt>=3.1.3
fido2>=0.9.2
libnacl>=1.4.2
pyOpenSSL>=17.0.0
pytest>=7.0.1
pytest-cov>=3.0.0
setuptools>=18.5
linux,darwin: gssapi>=1.2.0
linux,darwin: python-pkcs11>=0.7.0
linux,darwin: uvloop>=0.9.1
windows: pywin32>=227
platform =
linux: linux
darwin: darwin
windows: win32
usedevelop = True
setenv =
PIP_USE_PEP517 = 1
COVERAGE_FILE = .coverage.{envname}
commands =
{envpython} -m pytest --cov --cov-report=term-missing:skip-covered {posargs}
depends =
clean
[testenv:clean]
deps = coverage
skip_install = true
setenv =
COVERAGE_FILE =
commands = coverage erase
depends =
[testenv:report]
deps = coverage
skip_install = true
parallel_show_output = true
setenv =
COVERAGE_FILE =
commands =
coverage combine
coverage report --show-missing
coverage html
coverage xml
depends =
py3{7,8,9,10,11,12}-{linux,darwin,windows}
[pytest]
testpaths = tests