From f47757adf0184c66e488be60cd38b32d44da5a35 Mon Sep 17 00:00:00 2001 From: Adam Moussa <166072409+amoussa1229@users.noreply.github.com> Date: Fri, 29 May 2026 15:02:47 -0400 Subject: [PATCH] Add coverage reporting via pytest-cov --- pyproject.toml | 1 + tests/requirements.txt | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 tests/requirements.txt diff --git a/pyproject.toml b/pyproject.toml index d86f343..54757f2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,4 @@ [tool.pytest.ini_options] testpaths = ["tests"] pythonpath = ["lambdas/classifier", "lambdas/slack_post", "cdk"] +addopts = "--cov=lambdas --cov-report=term-missing" diff --git a/tests/requirements.txt b/tests/requirements.txt new file mode 100644 index 0000000..9955dec --- /dev/null +++ b/tests/requirements.txt @@ -0,0 +1,2 @@ +pytest +pytest-cov