forked from ronf/asyncssh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
49 lines (45 loc) · 1.11 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]
minversion = 3.7
envlist = clean,{py36,py37,py38,py39,py310}-{linux,darwin,windows},report
skip_missing_interpreters = True
[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 =
{py36,py37,py38,py39,py310}-{linux,darwin,windows}: COVERAGE_FILE = .coverage.{envname}
commands =
{envpython} -m pytest --cov --cov-report=term-missing:skip-covered {posargs}
depends =
{py36,py37,py38,py39,py310}-{linux,darwin,windows}: clean
report: {py36,py37,py38,py39,py310}-{linux,darwin,windows}
[testenv:clean]
deps = coverage
skip_install = true
commands = coverage erase
[testenv:report]
deps = coverage
skip_install = true
parallel_show_output = true
commands =
coverage combine
coverage report --show-missing
coverage html
coverage xml
[pytest]
testpaths = tests