Add coverage tests
Some checks failed
Build Docker image / test (push) Failing after 2m7s
Build Docker image / build (push) Has been skipped

This commit is contained in:
Roman Krček
2024-10-13 18:16:28 +02:00
parent 2f3a2d1700
commit e688b6d62b
2 changed files with 8 additions and 2 deletions

View File

@@ -2,4 +2,5 @@ codespell
flake8
bandit
pytest
stestr
stestr
coverage

View File

@@ -16,4 +16,9 @@ commands = bandit -r telegram_downloader_bot/
commands = codespell telegram_downloader_bot/
[testenv:unit]
commands = stestr run --test-path tests/
commands = stestr run --test-path tests/
[testenv:coverage]
commands =
coverage run -m unittest discover
coverage report -m