Documentation
¶
Overview ¶
Command covreport renders a per-file Go coverage table (Markdown) for the PR coverage comment. It reads a head coverage profile and, optionally, a base profile to compute per-file deltas, then writes the table to stdout.
Usage:
covreport -head cover.head.out [-base cover.base.out] [-module github.com/d0ugal/graith]
If -module is empty it is read from ./go.mod. A missing or empty -base is treated as "base unavailable" — the table still renders, with "—" deltas. The tool never exits non-zero for a missing base or an empty profile so a coverage-comment step can rely on it; it exits non-zero only when a supplied profile is genuinely malformed.
Click to show internal directories.
Click to hide internal directories.