forked from reagento/dishka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
90 lines (85 loc) · 3.75 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[tox]
requires =
tox>=4
env_list =
unit,
real_world_example,
fastapi-{0096,0109},
aiohttp-393,
flask-302,
litestar-230,
aiogram-330,
telebot-415,
starlette-0270,
faststream-047,
faststream-050,
arq-0250,
taskiq-0110,
sanic-23121,
aiogram-dialog-210,
grpcio-1641,
click-817
[testenv]
use_develop = true
deps =
pytest
pytest-cov
aiohttp-393: -r requirements/aiohttp-393.txt
aiohttp-latest: -r requirements/aiohttp-latest.txt
fastapi-latest: -r requirements/fastapi-latest.txt
fastapi-0096: -r requirements/fastapi-0096.txt
fastapi-0109: -r requirements/fastapi-0109.txt
aiogram-latest: -r requirements/aiogram-latest.txt
aiogram-330: -r requirements/aiogram-330.txt
telebot-latest: -r requirements/telebot-latest.txt
telebot-415: -r requirements/telebot-415.txt
flask-latest: -r requirements/flask-latest.txt
flask-302: -r requirements/flask-302.txt
litestar-latest: -r requirements/litestar-latest.txt
litestar-230: -r requirements/litestar-230.txt
starlette-latest: -r requirements/starlette-latest.txt
starlette-0270: -r requirements/starlette-0270.txt
faststream-latest: -r requirements/faststream-latest.txt
faststream-047: -r requirements/faststream-047.txt
faststream-050: -r requirements/faststream-050.txt
arq-latest: -r requirements/arq-latest.txt
arq-0250: -r requirements/arq-0250.txt
taskiq-latest: -r requirements/taskiq-latest.txt
taskiq-0110: -r requirements/taskiq-0110.txt
sanic-latest: -r requirements/sanic-latest.txt
sanic-23121: -r requirements/sanic-23121.txt
aiogram-dialog-210: -r requirements/aiogram-dialog-210.txt
aiogram-dialog-latest: -r requirements/aiogram-dialog-latest.txt
grpcio-1641: -r requirements/grpcio-1641.txt
grpcio-latest: -r requirements/grpcio-latest.txt
click-817: -r requirements/click-817.txt
click-latest: -r requirements/click-latest.txt
commands =
aiohttp: pytest --cov=dishka --cov-append --cov-report=term-missing -v tests/integrations/aiohttp
fastapi: pytest --cov=dishka --cov-append --cov-report=term-missing -v tests/integrations/fastapi
aiogram: pytest --cov=dishka --cov-append --cov-report=term-missing -v tests/integrations/aiogram
telebot: pytest --cov=dishka --cov-append --cov-report=term-missing -v tests/integrations/telebot
flask: pytest --cov=dishka --cov-append --cov-report=term-missing -v tests/integrations/flask
litestar: pytest --cov=dishka --cov-append --cov-report=term-missing -v tests/integrations/litestar
starlette: pytest --cov=dishka --cov-append --cov-report=term-missing -v tests/integrations/starlette
faststream: pytest --cov=dishka --cov-append --cov-report=term-missing -v tests/integrations/faststream
arq: pytest --cov=dishka --cov-append --cov-report=term-missing -v tests/integrations/arq
taskiq: pytest --cov=dishka --cov-append --cov-report=term-missing -v tests/integrations/taskiq
sanic: pytest --cov=dishka --cov-append --cov-report=term-missing -v tests/integrations/sanic
aiogram-dialog: pytest --cov=dishka --cov-append --cov-report=term-missing -v tests/integrations/aiogram_dialog
grpcio: pytest --cov=dishka --cov-append --cov-report=term-missing -v tests/integrations/grpcio
click: pytest --cov=dishka --cov-append --cov-report=term-missing -v tests/integrations/click
allowlist_externals =
pytest
[testenv:unit]
deps =
pytest
pytest-cov
-r requirements/test.txt
commands = pytest --cov=dishka --cov-append --cov-report=term-missing -v tests/unit
[testenv:real_world_example]
deps =
pytest
pytest-cov
-r examples/real_world/requirements_test.txt
commands = pytest --cov=dishka --cov-append --cov-report=term-missing -v examples/real_world/tests/