Skip to content

Commit 9106658

Browse files
committed
prev
1 parent 9d2777f commit 9106658

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/weekly.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ jobs:
6161
# yamllint disable rule:line-length
6262
run: sudo /home/runner/.cargo/bin/rustup override set ${{ matrix.toolchain }}
6363
- name: Install cargo-binutils
64-
run: sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER='sudo -E' cargo install cargo-binutils
64+
run: sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER='sudo -E' /home/runner/.cargo/bin/cargo install cargo-binutils
6565
- name: Add component llvm-tools-preview
6666
run: sudo /home/runner/.cargo/bin/rustup component add llvm-tools-preview
6767
- name: Run all tests on ${{ matrix.toolchain }} toolchain with profiling
6868
run: sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH PROFILE=1 make -f Makefile sudo_test
6969
- name: Merge raw coverage files
7070
run: |
71-
sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH rust-profdata merge --sparse *.profraw -o result.profdata
71+
sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER='sudo -E' rust-profdata merge --sparse *.profraw -o result.profdata
7272
sudo rm *.profraw
7373
- name: Generate coverage report
74-
run: sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH rust-cov report -object $(find target/debug/deps/ -regex ".*devicemapper-[0-9a-f]*") -instr-profile=result.profdata --summary-only
74+
run: sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER='sudo -E' rust-cov report -object $(find target/debug/deps/ -regex ".*devicemapper-[0-9a-f]*") -instr-profile=result.profdata --summary-only

0 commit comments

Comments
 (0)