covreport

command
v0.69.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2026 License: MIT Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL