2013-01-23 21:57:44 +00:00
|
|
|
[tox]
|
2023-06-29 02:54:44 +00:00
|
|
|
envlist=py37,py38,py39,py310,py311
|
2013-01-23 21:57:44 +00:00
|
|
|
|
|
|
|
[testenv]
|
2023-05-17 16:19:14 +00:00
|
|
|
commands=pytest --cov rq --cov-config=.coveragerc --durations=5 {posargs}
|
2014-05-06 13:51:23 +00:00
|
|
|
deps=
|
2023-07-09 10:34:25 +00:00
|
|
|
codecov
|
|
|
|
psutil
|
2014-05-06 13:51:23 +00:00
|
|
|
pytest
|
2014-07-24 21:30:36 +00:00
|
|
|
pytest-cov
|
2023-05-13 14:49:59 +00:00
|
|
|
passenv=
|
|
|
|
RUN_SSL_TESTS
|
2013-01-23 21:57:44 +00:00
|
|
|
|
2023-05-19 01:17:49 +00:00
|
|
|
; [testenv:lint]
|
|
|
|
; basepython = python3.10
|
|
|
|
; deps =
|
|
|
|
; black
|
|
|
|
; ruff
|
|
|
|
; commands =
|
|
|
|
; black --check rq tests
|
|
|
|
; ruff check rq tests
|
2022-10-01 09:34:30 +00:00
|
|
|
|
|
|
|
[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}
|
2023-05-23 07:24:55 +00:00
|
|
|
|
2023-06-29 02:54:44 +00:00
|
|
|
[testenv:py311]
|
|
|
|
skipdist = True
|
|
|
|
basepython = python3.11
|
|
|
|
deps = {[testenv]deps}
|
|
|
|
|
2023-05-23 07:24:55 +00:00
|
|
|
[testenv:ssl]
|
|
|
|
skipdist = True
|
|
|
|
basepython = python3.10
|
|
|
|
deps=
|
|
|
|
pytest
|
|
|
|
psutil
|
|
|
|
passenv=
|
|
|
|
RUN_SSL_TESTS
|
|
|
|
commands=pytest -m ssl_test {posargs}
|