From 6e50559dfa5d043bdfc536981354b2dcd4600531 Mon Sep 17 00:00:00 2001 From: Catherine Date: Fri, 18 Aug 2023 00:15:38 +0000 Subject: [PATCH] pyproject: add PDM scripts for reporting code coverage. --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 6bad763..45c8041 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,3 +60,6 @@ test-docs.cmd = "sphinx-build -b doctest docs/ docs/_build" document.cmd = "sphinx-build docs/ docs/_build/" document-live.cmd = "sphinx-autobuild docs/ docs/_build/ --watch amaranth" + +coverage-text.cmd = "python -m coverage report" +coverage-html.cmd = "python -m coverage html"