fix(ci): use the Postgres service hostname in Gitea Actions
Tests / Dashboard checks (push) Successful in 58s
Tests / Go backend (push) Failing after 1m1s

This commit is contained in:
Gabriel20xx committed 2026-10-21 09:41:43 +00:00
1 parent 1719b3c23b
commit 71060bd020
1 file changed
+6 -1
+6 -1
View File
@@ -56,9 +56,14 @@ jobs:
cache: true cache: true
- name: Test - name: Test
run: go test ./... shell: bash
env: env:
TEST_DATABASE_URL: "postgres://postgres:postgres@localhost:5432/collabtable_test?sslmode=disable" TEST_DATABASE_URL: "postgres://postgres:postgres@localhost:5432/collabtable_test?sslmode=disable"
run: |
if [ "${GITEA_ACTIONS:-}" = "true" ]; then
export TEST_DATABASE_URL="postgres://postgres:postgres@postgres:5432/collabtable_test?sslmode=disable"
fi
go test ./...
frontend: frontend:
name: Dashboard checks name: Dashboard checks