Implement test coverage and takify

This commit is contained in:
2026-02-03 23:09:36 -05:00
parent ec02b6ff62
commit 9b7b06bbe5
2 changed files with 262 additions and 7 deletions

View File

@@ -22,3 +22,14 @@ packages = [{include = "naliiabot", from = "src"}]
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[dependency-groups]
dev = [
"pytest-cov (>=7.0.0,<8.0.0)",
"taskipy (>=1.14.1,<2.0.0)"
]
[tool.taskipy.tasks]
test = "pytest tests/test_agent.py -v"
test-cov = "pytest tests/test_agent.py --cov=src.naliiabot.bot.agent --cov-report=html && python -m http.server 8000 --directory htmlcov"