feat(server): tenant-registry skeleton boots against dev stack
Minimal Go service: /healthz + /v1/tenants/by-slug/:slug + /v1/tenants/:id with an in-memory store seeded with the acme tenant. Stdlib-only; pgx + JWT validation land in M4.1 follow-up.
This commit was merged in pull request #4.
This commit is contained in:
@@ -57,12 +57,12 @@ jobs:
|
||||
|
||||
test:
|
||||
runs-on: docker
|
||||
if: hashFiles('go.sum') != ''
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-go@v5
|
||||
with: { go-version: '1.22' }
|
||||
with: { go-version: '1.24' }
|
||||
|
||||
- name: fmt
|
||||
run: test -z "$(gofmt -l .)"
|
||||
@@ -75,7 +75,10 @@ jobs:
|
||||
with: { version: latest }
|
||||
|
||||
- name: test
|
||||
run: go test -race -coverprofile=cover.out ./...
|
||||
# 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/...
|
||||
|
||||
- name: coverage gate
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user