test: add coverage job to bacon.toml, coverage profile for nextest

This commit is contained in:
2025-08-12 16:48:01 -05:00
parent c1c5dae6f2
commit 780a33f657
2 changed files with 22 additions and 0 deletions

View File

@@ -34,6 +34,24 @@ command = [
need_stdout = true
analyzer = "nextest"
[jobs.coverage]
command = [
"cargo", "llvm-cov", "--profile", "coverage", "--color", "always", "--no-fail-fast", "nextest", "--no-capture", "--summary-only", "--"
]
need_stdout = true
ignored_lines = [
"info:",
"\\s+Compiling",
"test result: ok",
"^\\s*$",
"running \\d+ test",
"Nextest run ID",
"[─]+",
"test.+ok",
"PASS|START",
"Starting \\d+ test"
]
[jobs.doc]
command = ["cargo", "doc", "--no-deps"]
need_stdout = false
@@ -59,3 +77,4 @@ c = "job:clippy"
alt-c = "job:check"
ctrl-alt-c = "job:check-all"
shift-c = "job:clippy-all"
f = "job:coverage"