-
Notifications
You must be signed in to change notification settings - Fork 542
/
tox.ini
46 lines (37 loc) · 870 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
[tox]
envlist = py{38,39,310,311,312},pypy
[base]
deps = pytest
packaging
cython>=3.0
eventlet
gevent
twisted[tls]
pure-sasl
kerberos
futurist
lz4
cryptography>=35.0
[testenv]
deps = {[base]deps}
setenv = LIBEV_EMBED=0
CARES_EMBED=0
LC_ALL=en_US.UTF-8
changedir = {envtmpdir}
commands = pytest -v {toxinidir}/tests/unit/
[testenv:gevent_loop]
deps = {[base]deps}
setenv = LIBEV_EMBED=0
CARES_EMBED=0
EVENT_LOOP_MANAGER=gevent
changedir = {envtmpdir}
commands =
pytest -v {toxinidir}/tests/unit/io/test_geventreactor.py
[testenv:eventlet_loop]
deps = {[base]deps}
setenv = LIBEV_EMBED=0
CARES_EMBED=0
EVENT_LOOP_MANAGER=eventlet
changedir = {envtmpdir}
commands =
pytest -v {toxinidir}/tests/unit/io/test_eventletreactor.py