2023-08-06 20:11:16 +03:00
|
|
|
[tox]
|
2024-09-21 01:11:13 +03:00
|
|
|
minversion = 3.9.0
|
|
|
|
envlist = py39, py310, py311, py312
|
2023-08-06 20:11:16 +03:00
|
|
|
isolated_build = true
|
|
|
|
|
|
|
|
[gh-actions]
|
|
|
|
python =
|
2023-08-06 20:24:16 +03:00
|
|
|
3.9: py39
|
|
|
|
3.10: py310
|
|
|
|
3.11: py311
|
2024-09-21 01:11:13 +03:00
|
|
|
3.12: py312
|
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
|