diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-21 02:00:20 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-21 02:00:20 -0400 |
| commit | 6b2fd20dfc6e2cba418d27c0955908db8ec19039 (patch) | |
| tree | 2339c6cd32fceb01f8709221686a312db33cd764 /.github/workflows/ci.yml | |
| parent | bdd3fc2bd57cd016c8cb701911660d9f09192daf (diff) | |
| download | emacs-wttrin-6b2fd20dfc6e2cba418d27c0955908db8ec19039.tar.gz emacs-wttrin-6b2fd20dfc6e2cba418d27c0955908db8ec19039.zip | |
test: add make coverage-summary with untested-module detection
A module no test loads never appears in undercover's report, so a line-weighted total silently skips it. The coverage-summary target counts such a file as 0% and weights the project number by file, so untested modules stay visible.
I replaced scripts/coverage-summary.py, which only summarized files already in the report. make coverage now chains the summary, and CI prints it in the coverage step instead of a separate python call.
The helper runs on stock Emacs (built-in json and seq), so it needs no dev deps. It lives in tracked scripts/ so CI can reach it.
Diffstat (limited to '.github/workflows/ci.yml')
| -rw-r--r-- | .github/workflows/ci.yml | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8fa309..b963389 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -115,9 +115,6 @@ jobs: - name: Run coverage run: make coverage - - name: Print coverage summary - run: python3 scripts/coverage-summary.py - - name: Upload coverage report uses: actions/upload-artifact@v4 with: |
