-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
52 lines (43 loc) · 856 Bytes
/
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
[tox]
envlist = py{38,39,310}-{mac,linux,windows},pypy
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
[testenv]
platform =
mac: darwin
windows: win32
linux: linux
extras =
test
{mac,linux}: xmlsec
py{38,39,310}: async
deps =
py{38,39,310}: aioresponses==0.5.0
py{38,39,310}: aiohttp==3.7.4
py{38,39,310}: pytest-asyncio==0.11.0
commands = coverage run --parallel -m pytest {posargs}
[testenv:pypy]
extras =
test
xmlsec
commands = python -m pytest {posargs}
[testenv:format]
basepython = python3.9
deps =
black
isort[toml]
skip_install = true
commands =
isort --check-only src tests
black --check src/ tests/
[testenv:coverage-report]
basepython = python3.9
deps = coverage[toml]
skip_install = true
commands =
coverage combine
coverage xml
coverage report