tar: fix CI coverage for spawned tar tests (#164)

Make the coverage job include the full workspace and collect
coverage from spawned CLI test runs. This prevents exercised
tar paths from showing up as uncovered.
This commit is contained in:
Jeff Bailey
2026-04-10 06:49:55 +01:00
committed by GitHub
parent 819b471288
commit 78c666ac7d
+1 -1
View File
@@ -58,7 +58,7 @@ jobs:
RUSTC_WRAPPER: ""
RUSTFLAGS: "-Cinstrument-coverage -Zcoverage-options=branch -Ccodegen-units=1 -Copt-level=0 -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort"
RUSTDOCFLAGS: "-Cpanic=abort"
LLVM_PROFILE_FILE: "tar-%p-%m.profraw"
LLVM_PROFILE_FILE: "${{ github.workspace }}/tar-%p-%m.profraw"
# Use -Z
RUSTC_BOOTSTRAP: 1
- name: "`grcov` ~ install"