From 10039393c1fa11523091a8d49a4854f245863808 Mon Sep 17 00:00:00 2001 From: David Hewitt <1939362+davidhewitt@users.noreply.github.com> Date: Wed, 1 Sep 2021 20:35:53 +0100 Subject: [PATCH] ci: use cargo-llvm-cov 0.1.5 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86263da3..3167efa7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -244,11 +244,10 @@ jobs: - uses: actions/checkout@v2 - uses: actions/cache@v2 with: - # NB: doesn't include target dir so that the coverage stats are fresh - # each run. path: | ~/.cargo/registry ~/.cargo/git + target key: coverage-cargo-${{ hashFiles('**/Cargo.toml') }} continue-on-error: true - name: install cargo-llvm-cov @@ -256,7 +255,7 @@ jobs: wget https://github.com/taiki-e/cargo-llvm-cov/releases/download/v${CARGO_LLVM_COV_VERSION}/cargo-llvm-cov-x86_64-unknown-linux-gnu.tar.gz -qO- | tar -xzvf - mv cargo-llvm-cov ~/.cargo/bin env: - CARGO_LLVM_COV_VERSION: 0.1.0 + CARGO_LLVM_COV_VERSION: 0.1.5 - uses: actions-rs/toolchain@v1 with: toolchain: nightly @@ -264,6 +263,7 @@ jobs: profile: minimal components: llvm-tools-preview - run: | + cargo llvm-cov clean --workspace cargo llvm-cov --package $ALL_PACKAGES --no-report cargo llvm-cov --package $ALL_PACKAGES --no-report --features abi3 cargo llvm-cov --package $ALL_PACKAGES --no-report --features macros num-bigint num-complex hashbrown indexmap serde multiple-pymethods