diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index bc9c7c7..f12ad7d 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -78,9 +78,11 @@ jobs: - name: test # Coverage scoped to ./internal/... — cmd/server is the entrypoint - # with signal-handling + bind that isn't worth unit-testing. When - # real integration tests land in M4.1, widen this back to ./... - run: go test -race -coverprofile=cover.out ./internal/... + # with signal-handling + bind that isn't worth unit-testing. + # -coverpkg lets the server tests count their exercise of store/* — + # store has no test files because every method is exercised end-to-end + # via the server's eachStore harness against both Memory and Postgres. + run: go test -race -coverpkg=./internal/... -coverprofile=cover.out ./internal/... - name: coverage gate run: |