diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index d42e266..30b3bd4 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -82,8 +82,11 @@ jobs: # harness against both Memory and Postgres, so we don't need its # own test binary — and including it triggers a covdata-tool error # on packages with no _test.go files. -coverpkg makes the server's - # exercise of store/* count toward coverage. - run: go test -race -coverpkg=./internal/... -coverprofile=cover.out ./internal/server/... ./internal/config/... ./internal/keycloak/... ./internal/llmkeys/... ./internal/erpsetup/... ./internal/scopes/... ./internal/secretbox/... ./internal/roles/... ./internal/telemetry/... ./internal/legal/... + # exercise of store/* count toward coverage. -count=1: a cached + # package result leaves its share out of cover.out, so the total + # dropped below the gate whenever the runner had cached results + # (main 2026-11-12 08:55 passed uncached; PR #126 failed cached). + run: go test -count=1 -race -coverpkg=./internal/... -coverprofile=cover.out ./internal/server/... ./internal/config/... ./internal/keycloak/... ./internal/llmkeys/... ./internal/erpsetup/... ./internal/scopes/... ./internal/secretbox/... ./internal/roles/... ./internal/telemetry/... ./internal/legal/... - name: coverage gate run: |