render_report
A Markdown summary of a pipeline, ready for a PR comment or a job summary.
One heading with the overall status (the worst of the jobs, see overall),
then a table with one row per job in the order given: its icon, name and status. A | in a job
name is escaped and line breaks in the title or a name become spaces, so nothing can break the
table. There is no trailing newline.
Import
Section titled “Import”Cargo feature ci (enabled by default). To compile only this module:
or in Cargo.toml:
Signature
Section titled “Signature”Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
title | &str | The heading, such as "Pull Request Validation". |
jobs | &[(&str, Status)] | The jobs with their status, as (name, status). |
Returns
Section titled “Returns”String — The Markdown text.
