Implement test coverage and takify
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user