-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
93 lines (82 loc) · 2.05 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
91
92
93
[tox]
isolated_build = True
envlist =
py{39,310,311,312}-{core,django4,django3,flask3,flask2,quart,fastapi,starlette,celery,rq}
[testenv]
deps =
pytest~=7.0
pytest-mock~=2.0
pytest-asyncio<1
freezegun~=1.0
httpretty~=1.0
httpx<1
[testenv:py{39,310,311,312}-core]
commands =
pytest tests/hirefire_resource/test_configuration.py
pytest tests/hirefire_resource/test_hirefire.py
pytest tests/hirefire_resource/test_version.py
pytest tests/hirefire_resource/test_web.py
pytest tests/hirefire_resource/test_worker.py
[testenv:py{39,310,311,312}-django4]
deps =
{[testenv]deps}
django~=4.0
pytest-django~=4.0
starlette<1
commands =
pytest tests/hirefire_resource/middleware/test_wsgi_django.py
pytest tests/hirefire_resource/middleware/test_asgi_django.py
[testenv:py{39,310,311,312}-django3]
deps =
{[testenv]deps}
django~=3.0
pytest-django~=4.0
starlette<1
commands =
pytest tests/hirefire_resource/middleware/test_wsgi_django.py
pytest tests/hirefire_resource/middleware/test_asgi_django.py
[testenv:py{39,310,311,312}-flask3]
deps =
{[testenv]deps}
flask~=3.0
commands =
pytest tests/hirefire_resource/middleware/test_wsgi_flask.py
[testenv:py{39,310,311,312}-flask2]
deps =
{[testenv]deps}
flask~=2.0
commands =
pytest tests/hirefire_resource/middleware/test_wsgi_flask.py
[testenv:py{39,310,311,312}-quart]
deps =
{[testenv]deps}
quart<1
commands =
pytest tests/hirefire_resource/middleware/test_asgi_quart.py
[testenv:py{39,310,311,312}-fastapi]
deps =
{[testenv]deps}
fastapi<1
commands =
pytest tests/hirefire_resource/middleware/test_asgi_fast_api.py
[testenv:py{39,310,311,312}-starlette]
deps =
{[testenv]deps}
starlette<1
commands =
pytest tests/hirefire_resource/middleware/test_asgi_starlette.py
[testenv:py{39,310,311,312}-celery]
deps =
{[testenv]deps}
redis~=5.0
amqp~=5.0
celery~=5.0
commands =
pytest tests/hirefire_resource/macro/test_celery.py
[testenv:py{39,310,311,312}-rq]
deps =
{[testenv]deps}
redis~=5.0
rq~=1.0
commands =
pytest tests/hirefire_resource/macro/test_rq.py