From f5ee0298d8bb411f677dc05f5ec3d4777ce61e0d Mon Sep 17 00:00:00 2001 From: Gabriel Date: Wed, 21 Oct 2026 11:10:08 +0000 Subject: [PATCH] ci: avoid PostgreSQL port conflicts in tests --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a8447b7..71e8b26 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -37,7 +37,7 @@ jobs: POSTGRES_PASSWORD: postgres POSTGRES_DB: collabtable_test ports: - - "5432:5432" + - "15432:5432" options: >- --health-cmd "pg_isready -U postgres" --health-interval 5s @@ -58,7 +58,7 @@ jobs: - name: Test shell: bash env: - TEST_DATABASE_URL: "postgres://postgres:postgres@localhost:5432/collabtable_test?sslmode=disable" + TEST_DATABASE_URL: "postgres://postgres:postgres@localhost:15432/collabtable_test?sslmode=disable" run: | if [ "${GITEA_ACTIONS:-}" = "true" ]; then export TEST_DATABASE_URL="postgres://postgres:postgres@postgres:5432/collabtable_test?sslmode=disable"