Compare commits

...
Author SHA1 Message Date
noah 777322c66b Make README PR shortcut rename safe
source-pr / source (pull_request) Successful in 33s
2026-10-18 20:58:32 -06:00
noah 629dff22fe Save coverage tool before pending conformance gate
source-pr / source (pull_request) Successful in 28s
2026-10-18 20:51:23 -06:00
noah 1d000e037b Merge pull request 'Cache pinned OS coverage tool in main CI' (#2) from ci/coverage-tool-cache into main
main-release-gate / verify-and-release (push) Failing after 5m3s
2026-10-18 20:44:26 -06:00
2 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ jobs:
if [ "$GITHUB_EVENT_NAME" = pull_request ] &&
{ [ "$GITHUB_BASE_REF" = main ] || [ "$GITHUB_BASE_REF" = next ]; } &&
base="$(git merge-base HEAD "origin/$GITHUB_BASE_REF" 2>/dev/null)" &&
changed="$(git diff --name-only "$base" HEAD)" &&
changed="$(git diff --no-renames --name-only "$base" HEAD)" &&
[ "$changed" = README.md ]; then
surface=documentation
fi
+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