-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathtox.ini
33 lines (31 loc) · 1.04 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
[tox]
envlist = py{38,39,310,311}-websockets{latest,11.0}-pyaudio{latest,0.2}-httpx{latest,0.24,0.23,0.22,0.21}-pydantic{latest,2,1.10,1.9,1.8,1.7}-typing-extensions
[testenv]
deps =
# library dependencies
websocketslatest: websockets
websockets11.0: websockets>=11.0.0,<12.0.0
httpxlatest: httpx
httpx0.24: httpx>=0.24.0,<0.25.0
httpx0.23: httpx>=0.23.0,<0.24.0
httpx0.22: httpx>=0.22.0,<0.23.0
httpx0.21: httpx>=0.21.0,<0.22.0
pydanticlatest: pydantic
pydantic2: pydantic>=2
pydantic1.10: pydantic>=1.10.0,<1.11.0,!=1.10.7
pydantic1.9: pydantic>=1.9.0,<1.10.0
pydantic1.8: pydantic>=1.8.0,<1.9.0
pydantic1.7: pydantic>=1.7.0,<1.8.0
typing-extensions: typing-extensions>=3.7
# extra dependencies
pyaudiolatest: pyaudio
pyaudio0.2: pyaudio>=0.2.13,<0.3.0
# test dependencies
pytest
pytest-httpx
pytest-xdist
pytest-mock
pytest-cov
factory-boy
allowlist_externals = pytest
commands = pytest -n auto --cov-report term --cov-report xml:coverage.xml --cov=assemblyai