2023-08-06 20:11:16 +03:00
|
|
|
[tox]
|
|
|
|
minversion = 3.8.0
|
|
|
|
envlist = py38, py39, py310, py311
|
|
|
|
isolated_build = true
|
|
|
|
|
|
|
|
[gh-actions]
|
|
|
|
python =
|
2023-08-06 20:24:16 +03:00
|
|
|
3.8: py38
|
|
|
|
3.9: py39
|
|
|
|
3.10: py310
|
|
|
|
3.11: py311
|
2023-08-06 20:11:16 +03:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
setenv =
|
|
|
|
PYTHONPATH = {toxinidir}
|
|
|
|
deps =
|
|
|
|
-r{toxinidir}/requirements/_.txt
|
|
|
|
-r{toxinidir}/requirements/dev.txt
|
|
|
|
-r{toxinidir}/requirements/pycord.txt
|
|
|
|
-r{toxinidir}/requirements/pyrogram.txt
|
|
|
|
-r{toxinidir}/requirements/speed.txt
|
|
|
|
commands =
|
2023-08-06 22:21:55 +03:00
|
|
|
pytest --basetemp={envtmpdir} --cov=libbot
|