je_load_density.utils.ci_annotations.github_actions

GitHub Actions ::error:: / ::warning:: annotation emitter.

Renders one workflow-command line per failed request so reviewers see inline failures in the PR Files Changed view.

Functions

emit_github_annotations([title, stream])

Print one ::error:: annotation per failure record.

format_github_annotation(severity, message)

Build one ::<severity> [opts]::message line.

je_load_density.utils.ci_annotations.github_actions.emit_github_annotations(title: str = 'LoadDensity', stream: TextIO | None = None) int

Print one ::error:: annotation per failure record. Returns the number of annotations written.

je_load_density.utils.ci_annotations.github_actions.format_github_annotation(severity: str, message: str, file: str | None = None, line: int | None = None, title: str | None = None) str

Build one ::<severity> [opts]::message line.

severity must be error, warning, or notice.