From 651b6bd12e044947067e420db3200e7a817d5444 Mon Sep 17 00:00:00 2001 From: mulhern Date: Tue, 14 Nov 2023 11:00:52 -0500 Subject: [PATCH] Tidies Signed-off-by: mulhern --- .github/workflows/weekly.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml index 8b7afc38..5d2a0e83 100644 --- a/.github/workflows/weekly.yml +++ b/.github/workflows/weekly.yml @@ -58,14 +58,15 @@ jobs: sudo apt-get -q update sudo apt-get -y install libdevmapper-dev - name: Set toolchain override with sudo - run: sudo /home/runner/.cargo/bin/rustup override set ${{ matrix.toolchain }} # yamllint disable rule:line-length + # yamllint disable rule:line-length + run: sudo /home/runner/.cargo/bin/rustup override set ${{ matrix.toolchain }} - name: Add component llvm-tools-preview run: sudo /home/runner/.cargo/bin/rustup component add llvm-tools-preview - name: Run all tests on ${{ matrix.toolchain }} toolchain with profiling - run: sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH PROFILE=1 make -f Makefile sudo_test # yamllint disable rule:line-length + run: sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH PROFILE=1 make -f Makefile sudo_test - name: Merge raw coverage files run: | - sudo llvm-profdata merge --sparse *.profraw -o result.profdata + sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH llvm-profdata merge --sparse *.profraw -o result.profdata sudo rm *.profraw - name: Generate coverage report - run: sudo llvm-cov report -object $(find target/debug/deps/ -regex ".*devicemapper-[0-9a-f]*") -instr-profile=result.profdata --summary-only + 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