fix(ci): use port 5433 for test PostgreSQL to avoid conflict
Production PostgreSQL already uses port 5432 on the host. The CI test database now maps to port 5433. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -49,7 +49,7 @@ jobs:
|
|||||||
POSTGRES_USER: test_user
|
POSTGRES_USER: test_user
|
||||||
POSTGRES_PASSWORD: test_password
|
POSTGRES_PASSWORD: test_password
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5433:5432
|
||||||
options: >-
|
options: >-
|
||||||
--health-cmd "pg_isready -U test_user -d wizamart_test"
|
--health-cmd "pg_isready -U test_user -d wizamart_test"
|
||||||
--health-interval 10s
|
--health-interval 10s
|
||||||
@@ -57,8 +57,8 @@ jobs:
|
|||||||
--health-retries 5
|
--health-retries 5
|
||||||
|
|
||||||
env:
|
env:
|
||||||
TEST_DATABASE_URL: "postgresql://test_user:test_password@localhost:5432/wizamart_test"
|
TEST_DATABASE_URL: "postgresql://test_user:test_password@localhost:5433/wizamart_test"
|
||||||
DATABASE_URL: "postgresql://test_user:test_password@localhost:5432/wizamart_test"
|
DATABASE_URL: "postgresql://test_user:test_password@localhost:5433/wizamart_test"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user