ci: add TEST_DB_HOST and debug echo to verify env propagation
Backend Tests / test (push) Failing after 59s
Backend Tests / test (push) Failing after 59s
This commit is contained in:
@@ -60,9 +60,12 @@ jobs:
|
||||
|
||||
- name: Test (all packages)
|
||||
working-directory: backend
|
||||
run: go test -tags "test,dev" -count=1 -v -timeout 120s ./handlers/... ./auth/... ./mw/... ./internal/... ./db/...
|
||||
run: |
|
||||
echo "POSTGRES_HOST=$POSTGRES_HOST TEST_DB_HOST=$TEST_DB_HOST"
|
||||
go test -tags "test,dev" -count=1 -v -timeout 120s ./handlers/... ./auth/... ./mw/... ./internal/... ./db/...
|
||||
env:
|
||||
POSTGRES_HOST: postgres
|
||||
TEST_DB_HOST: postgres
|
||||
PGUSER: myuser
|
||||
PGPASSWORD: mypassword
|
||||
PGDATABASE: mydb
|
||||
|
||||
Reference in New Issue
Block a user