|
1 | 1 | [tox]
|
2 |
| -envlist = {py36,py37,py38,py39,py310}-{linux,macos,windows} |
| 2 | +minversion = 2.0 |
| 3 | +envlist = clean,{py36,py37,py38,py39,py310}-{linux,darwin,windows},report |
| 4 | +skip_missing_interpreters = True |
3 | 5 |
|
4 | 6 | [testenv]
|
5 | 7 | deps =
|
| 8 | + aiofiles |
6 | 9 | bcrypt>=3.1.3
|
7 |
| - coverage |
8 |
| - linux,macos: gssapi>=1.2.0 |
| 10 | + fido2>=0.9.2 |
9 | 11 | libnacl>=1.4.2
|
10 | 12 | pyOpenSSL>=17.0.0
|
11 |
| - python-pkcs11>=0.7.0 |
| 13 | + pytest |
| 14 | + pytest-cov |
| 15 | + pytest-xdist |
12 | 16 | setuptools>=18.5
|
| 17 | + linux,darwin: gssapi>=1.2.0 |
| 18 | + linux,darwin: python-pkcs11>=0.7.0 |
| 19 | + linux,darwin: uvloop>=0.9.1 |
13 | 20 | windows: pywin32>=227
|
14 |
| - {py36,py37,py38,py39,py310}-{linux,macos}: uvloop>=0.9.1 |
15 | 21 | platform =
|
16 | 22 | linux: linux
|
17 |
| - macos: darwin |
| 23 | + darwin: darwin |
18 | 24 | windows: win32
|
19 |
| -sitepackages = True |
20 |
| -skip_missing_interpreters = True |
21 | 25 | usedevelop = True
|
22 | 26 | commands =
|
23 |
| - {envpython} -m coverage run -p -m unittest |
| 27 | + {envpython} -m pytest --cov --cov-append -n auto {posargs} |
| 28 | +depends = |
| 29 | + {py36,py37,py38,py39,py310}-{linux,darwin,windows}: clean |
| 30 | + report: {py36,py37,py38,py39,py310}-{linux,darwin,windows} |
| 31 | + |
| 32 | +[testenv:clean] |
| 33 | +deps = coverage |
| 34 | +skip_install = true |
| 35 | +commands = coverage erase |
| 36 | + |
| 37 | +[testenv:report] |
| 38 | +deps = coverage |
| 39 | +skip_install = true |
| 40 | +commands = |
| 41 | + coverage report --show-missing |
| 42 | + coverage html |
| 43 | + |
| 44 | +[pytest] |
| 45 | +testpaths = tests |
0 commit comments