File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments