From 0bd767a3fef0bf78bd43543948a5c48c548894b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BF=AE=E9=9B=A8?= Date: Wed, 15 Jul 2026 23:56:31 +0800 Subject: [PATCH] fix(ci): serialize authoritative coverage measurement --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4cdee739..a3a81156 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -234,7 +234,7 @@ jobs: - name: Run current and baseline unit tests with coverage run: | set -eu - go test -count=1 -coverprofile=coverage.txt -covermode=atomic ./ ./cmd/... ./internal/... ./skills/... + go test -count=1 -p 1 -coverprofile=coverage.txt -covermode=atomic ./ ./cmd/... ./internal/... ./skills/... go test -count=1 -coverprofile=coverage-policy.txt -covermode=atomic ./pkg/... ./scripts/policy/... go test -count=1 \ -run '^(TestAllShortcuts|TestCrossPlatformCoverage)' \ @@ -253,6 +253,7 @@ jobs: ( cd "$base_worktree" go test -count=1 \ + -p 1 \ -coverprofile="$GITHUB_WORKSPACE/coverage-base.txt" \ -covermode=atomic \ ./ ./cmd/... ./internal/... ./skills/...