mirror of
https://github.com/uutils/tar.git
synced 2026-06-10 16:14:35 -07:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user