From a7a5f6243eeffb5d80a0cc56d5051cc7555cf6f8 Mon Sep 17 00:00:00 2001 From: Walter Pinto Date: Sat, 3 Oct 2026 14:50:05 +0100 Subject: [PATCH] ci(rust): rerun the lcov smoke test instead of reusing a cached result Please does not recreate a declared test output on a cache hit, so the exported lcov file can be missing when the target's result is cached. The Swift workflow already does this (#56). Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/ci-rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-rust.yml b/.github/workflows/ci-rust.yml index f84e357..957f66d 100644 --- a/.github/workflows/ci-rust.yml +++ b/.github/workflows/ci-rust.yml @@ -76,7 +76,7 @@ jobs: - name: Raw lcov export smoke test (functions and branches) run: | - ./pleasew --plain_output cover //test/rust/branches:branches_test 2>&1 | tee cover.log + ./pleasew --plain_output cover --rerun //test/rust/branches:branches_test 2>&1 | tee cover.log f="plz-out/bin/test/rust/branches/branches_test.lcov" grep -q '^SF:test/rust/branches/branches\.rs$' "$f" grep -Eq '^FNDA:0,.*unused$' "$f"