Skip to content

Commit c25a9b8

Browse files
Back to zero
1 parent 01e568e commit c25a9b8

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/clippy_build_test.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ jobs:
6464
if: matrix.rust == 'stable'
6565
run: |
6666
cargo install grcov
67-
$HOME/.cargo/bin/grcov --version
68-
sudo env PATH=$PATH $HOME/.cargo/bin/grcov --version
6967
rustup component add llvm-tools-preview
7068
echo RUSTFLAGS="-C instrument-coverage" >> "$GITHUB_ENV"
7169
echo LLVM_PROFILE_FILE="libproc-%p-%m.profraw" >> "$GITHUB_ENV"
@@ -86,6 +84,6 @@ jobs:
8684
- name: UploadCoverage
8785
if: matrix.rust == 'stable'
8886
run: |
89-
sudo env PATH=$PATH $HOME/.cargo/bin/grcov . --binary-path target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore "/*" -o coverage.info
90-
sudo lcov --remove coverage.info lcov --ignore-errors unused,unused '/Applications/*' 'target/debug/build/**' 'target/release/build/**' '/usr*' '**/errors.rs' '**/build.rs' 'examples/**' '*tests/*' -o coverage.info
91-
sudo bash <(curl -s https://codecov.io/bash) -f coverage.info || true
87+
grcov . --binary-path target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore "/*" -o coverage.info
88+
lcov --remove coverage.info lcov --ignore-errors unused,unused '/Applications/*' 'target/debug/build/**' 'target/release/build/**' '/usr*' '**/errors.rs' '**/build.rs' 'examples/**' '*tests/*' -o coverage.info
89+
bash <(curl -s https://codecov.io/bash) -f coverage.info || true

0 commit comments

Comments
 (0)