-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
56 lines (48 loc) · 894 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
53
54
55
56
[tox]
envlist=py37,py38,py39,py310,py311
[testenv]
commands=pytest --cov rq --cov-config=.coveragerc --durations=5 {posargs}
deps=
codecov
psutil
pytest
pytest-cov
passenv=
RUN_SSL_TESTS
; [testenv:lint]
; basepython = python3.10
; deps =
; black
; ruff
; commands =
; black --check rq tests
; ruff check rq tests
[testenv:py37]
skipdist = True
basepython = python3.7
deps = {[testenv]deps}
[testenv:py38]
skipdist = True
basepython = python3.8
deps = {[testenv]deps}
[testenv:py39]
skipdist = True
basepython = python3.9
deps = {[testenv]deps}
[testenv:py310]
skipdist = True
basepython = python3.10
deps = {[testenv]deps}
[testenv:py311]
skipdist = True
basepython = python3.11
deps = {[testenv]deps}
[testenv:ssl]
skipdist = True
basepython = python3.10
deps=
pytest
psutil
passenv=
RUN_SSL_TESTS
commands=pytest -m ssl_test {posargs}