Save coverage tool before pending conformance gate
source-pr / source (pull_request) Successful in 28s

This commit is contained in:
2026-10-18 20:51:23 -06:00
parent 1d000e037b
commit 629dff22fe
+10 -1
View File
@@ -57,7 +57,9 @@ jobs:
set -o pipefail
cargo test --release --locked -- --ignored --nocapture --test-threads=1 | tee bench-current.txt
- name: Restore coverage tool
uses: actions/cache@v4
id: coverage-cache
uses: actions/cache/restore@v4
continue-on-error: true
with:
path: /root/.cargo/bin/cargo-llvm-cov
key: cargo-llvm-cov-0.8.7-rust-1.97.1-${{ runner.os }}
@@ -68,6 +70,13 @@ jobs:
cargo install --locked --force cargo-llvm-cov --version 0.8.7
fi
[ "$(cargo llvm-cov --version)" = 'cargo-llvm-cov 0.8.7' ]
- name: Save coverage tool
if: steps.coverage-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@v4
continue-on-error: true
with:
path: /root/.cargo/bin/cargo-llvm-cov
key: cargo-llvm-cov-0.8.7-rust-1.97.1-${{ runner.os }}
- name: Unit test coverage
run: |
mkdir -p coverage