Add coverage reporting via pytest-cov

This commit is contained in:
Adam Moussa 2026-05-29 15:02:47 -04:00
parent 8e87fe669d
commit f47757adf0
2 changed files with 3 additions and 0 deletions

View file

@ -1,3 +1,4 @@
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["lambdas/classifier", "lambdas/slack_post", "cdk"]
addopts = "--cov=lambdas --cov-report=term-missing"

2
tests/requirements.txt Normal file
View file

@ -0,0 +1,2 @@
pytest
pytest-cov