Skip to content

Commit ea04892

Browse files
AchoArnoldCopilot
andcommitted
ci(api): run handler integration tests
Keep localhost-dependent handler coverage active in the Docker integration job. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 5e77d279-9f4a-46bc-97b1-db6975c76faf
1 parent 2cfdbf8 commit ea04892

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/api.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ jobs:
7474
docker compose wait seed || true
7575
sleep 2
7676
77+
- name: Run Handler Integration Tests
78+
working-directory: ./api
79+
env:
80+
USER_API_KEY: test-user-api-key
81+
run: go test -tags integration -v -timeout 60s ./pkg/handlers
82+
7783
- name: Run Integration Tests
7884
working-directory: ./tests
7985
run: go test -v -timeout 300s ./...

0 commit comments

Comments
 (0)