File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -58,14 +58,15 @@ jobs:
5858 sudo apt-get -q update
5959 sudo apt-get -y install libdevmapper-dev
6060 - name : Set toolchain override with sudo
61- run : sudo /home/runner/.cargo/bin/rustup override set ${{ matrix.toolchain }} # yamllint disable rule:line-length
61+ # yamllint disable rule:line-length
62+ run : sudo /home/runner/.cargo/bin/rustup override set ${{ matrix.toolchain }}
6263 - name : Add component llvm-tools-preview
6364 run : sudo /home/runner/.cargo/bin/rustup component add llvm-tools-preview
6465 - name : Run all tests on ${{ matrix.toolchain }} toolchain with profiling
65- run : sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH PROFILE=1 make -f Makefile sudo_test # yamllint disable rule:line-length
66+ run : sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH PROFILE=1 make -f Makefile sudo_test
6667 - name : Merge raw coverage files
6768 run : |
68- sudo llvm-profdata merge --sparse *.profraw -o result.profdata
69+ sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH llvm-profdata merge --sparse *.profraw -o result.profdata
6970 sudo rm *.profraw
7071 - name : Generate coverage report
71- run : sudo llvm-cov report -object $(find target/debug/deps/ -regex ".*devicemapper-[0-9a-f]*") -instr-profile=result.profdata --summary-only
72+ run : sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH llvm-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