From bf4302cdd4c6271e58c87da3d0a3a2d3bbf79a37 Mon Sep 17 00:00:00 2001 From: Julian Tabel Date: Sat, 21 Feb 2026 16:49:04 +0100 Subject: [PATCH] Use host IP for backend test database URL in CI The Postgres service container is not reachable via localhost from inside the act runner container. Use the Docker host IP instead. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c93ce1..6934e15 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,7 +52,7 @@ jobs: run: uv run --python 3.14 --extra dev pytest -q working-directory: backend env: - TEST_DATABASE_URL: postgresql+asyncpg://postgres:postgres@localhost:5433/nuzlocke_test + TEST_DATABASE_URL: postgresql+asyncpg://postgres:postgres@192.168.1.10:5433/nuzlocke_test frontend-tests: runs-on: ubuntu-latest