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

@@ -3,3 +3,4 @@ flake8
bandit bandit
pytest pytest
stestr stestr
coverage

View File

@@ -17,3 +17,8 @@ commands = codespell telegram_downloader_bot/
[testenv:unit] [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