{% extends "base.html" %} {% import "repo_tabs.html" as m %} {% block title %}Coverage ยท {{ repo.owner }}/{{ repo.name }}{% endblock %} {% block tabs %}{% call m::tabs(repo, "coverage") %}{% endblock %} {% block content %}
[]({{ shell.base_url }}{{ repo.url }}/coverage)| File | Coverage | Lines | Missed |
|---|---|---|---|
| {{ f.path }} | {{ self.pct(f.percent()) }} | {{ f.lines_found }} | {{ f.missed() }} |
No coverage report for {{ bookmark }} yet.
Give a job in .flow/pipeline.kdl an artifact named coverage holding an LCOV report, and the hub reads it when the job uploads it. For Rust:
job "coverage" {
sandbox "rust"
exec "cargo" "llvm-cov" "--workspace" "--lcov" "--output-path" "/src/target/lcov.info"
output {
artifact "coverage" { path "/src/target/lcov.info" }
}
}
Istanbul (--reporter=lcov), coverage.py (coverage lcov) and gcov with lcov write LCOV too. Paths are read relative to the job's /src.