pub fn render_annotations(report: &Report, max_annotations: usize) -> StringExpand description
Renders the report as GitHub workflow annotation commands.
§Arguments
report- The coverage report to render.max_annotations- Maximum number of annotations to emit (default 25).
§Returns
A string containing newline-separated GitHub workflow commands.
§Example Output
::warning file=src/lib.rs,line=1::Uncovered changed line (hits=0)
::error file=src/lib.rs,line=2::Uncovered changed line (hits=0)