Skip to content

Commit

Permalink
prev
Browse files Browse the repository at this point in the history
  • Loading branch information
mulkieran committed Nov 14, 2023
1 parent 9d2777f commit 9106658
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ jobs:
# yamllint disable rule:line-length
run: sudo /home/runner/.cargo/bin/rustup override set ${{ matrix.toolchain }}
- name: Install cargo-binutils
run: sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER='sudo -E' cargo install cargo-binutils
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
- 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
- name: Merge raw coverage files
run: |
sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH rust-profdata merge --sparse *.profraw -o result.profdata
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
sudo rm *.profraw
- name: Generate coverage report
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
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 comments on commit 9106658

Please sign in to comment.