ci: add TEST_DB_HOST env var for service container connectivity
Backend Tests / test (push) Failing after 58s

This commit is contained in:
2026-06-25 00:47:18 +01:00
parent ab06c7e596
commit f3a41585d2
2 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ jobs:
working-directory: backend
run: go test -tags "test,dev" -count=1 -v -timeout 120s ./handlers/... ./auth/... ./mw/... ./internal/... ./db/...
env:
PGHOST: postgres
TEST_DB_HOST: postgres
PGUSER: myuser
PGPASSWORD: mypassword
PGDATABASE: mydb