Skip to content

Commit ff1ccfb

Browse files
Merge #1042
1042: fix `cargo llvm-cov` to use new `report` subcommand r=Alexhuszagh a=Emilgardis Co-authored-by: Emil Gardström <emil.gardstrom@gmail.com>
2 parents ec03af4 + abd59b2 commit ff1ccfb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/actions/cargo-llvm-cov/action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,11 @@ runs:
3838
if which cygpath; then
3939
pwd="$(cygpath -w "$(pwd)")"
4040
fi
41-
# No pwd needed here, we're in the root
4241
export LLVM_PROFILE_FILE="${pwd}/target/cross-%m.profraw"
4342
export CARGO_LLVM_COV_TARGET_DIR="${pwd}/target"
4443
mkdir coverage
4544
echo $(ls target)
46-
cargo llvm-cov --no-run --remap-path-prefix --lcov --output-path "coverage/lcov.${name}.info" -vv || ( echo "::error title=Coverage merge failed::" && exit 0 )
45+
cargo llvm-cov report --remap-path-prefix --lcov --output-path "coverage/lcov.${name}.info" -vv || ( echo "::error title=Coverage merge failed::" && exit 0 )
4746
rm target/*.profraw
4847
npm install @actions/artifact
4948
npm install glob

0 commit comments

Comments
 (0)