Skip to content

Commit

Permalink
Some suggested changes
Browse files Browse the repository at this point in the history
Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Nov 14, 2023
1 parent 24ba7c0 commit 8c6c38b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,24 @@ jobs:
run: ${{ matrix.task }}

coverage:
strategy:
matrix:
include:
- toolchain: 1.73.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
components: cargo
toolchain: nightly
components: cargo, llvm-tools-preview
toolchain: $(( matrix.toolchain }}
- name: Install dependencies
run: |
sudo apt-get -q update
sudo apt-get -y install libdevmapper-dev
sudo apt-get -y install llvm
- name: Set toolchain override with sudo
run: sudo /home/runner/.cargo/bin/rustup override set nightly
- name: Run all tests on nightly toolchain with profiling
run: sudo /home/runner/.cargo/bin/rustup override set ${{ matrix.toolchain }} # yamllint disable rule:line-length
- 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
- name: Merge raw coverage files
run: |
Expand Down

0 comments on commit 8c6c38b

Please sign in to comment.