Files
Telegram-Downloader-Bot/tox.ini
Roman Krček 48bd21f14f
Some checks failed
Build Docker image / test (push) Successful in 2m30s
Build Docker image / build (push) Failing after 3m19s
Use specific versions in requirements
2024-10-13 18:22:18 +02:00

24 lines
526 B
INI

[tox]
envlist = py311, flake8, bandit, codespell, unit, coverage
[testenv]
basepython = python3.11
deps = -r {toxinidir}/test-requirements.txt
-r {toxinidir}/requirements.txt
[testenv:flake8]
commands = flake8 telegram_downloader_bot/
[testenv:bandit]
commands = bandit -r telegram_downloader_bot/
[testenv:codespell]
commands = codespell telegram_downloader_bot/
[testenv:unit]
commands = stestr run --test-path tests/
[testenv:coverage]
commands =
coverage run -m unittest discover
coverage report -m