feat(api): M4.2 — full REST surface + pgx-backed Postgres #7
@@ -78,9 +78,11 @@ jobs:
|
|||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
# Coverage scoped to ./internal/... — cmd/server is the entrypoint
|
# Coverage scoped to ./internal/... — cmd/server is the entrypoint
|
||||||
# with signal-handling + bind that isn't worth unit-testing. When
|
# with signal-handling + bind that isn't worth unit-testing.
|
||||||
# real integration tests land in M4.1, widen this back to ./...
|
# -coverpkg lets the server tests count their exercise of store/* —
|
||||||
run: go test -race -coverprofile=cover.out ./internal/...
|
# 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
|
- name: coverage gate
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user