fix(ci): use port 5433 for test PostgreSQL to avoid conflict
Some checks failed
CI / ruff (push) Successful in 8s
CI / pytest (push) Failing after 27s
CI / architecture (push) Failing after 9s
CI / dependency-scanning (push) Successful in 27s
CI / audit (push) Successful in 8s
CI / docs (push) Has been skipped

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:
2026-02-12 23:38:24 +01:00
parent 363eb74d22
commit c58ceb9872

View File

@@ -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