Skip to content

Commit 8bbb362

Browse files
committed
fix: remove duplicate service containers causing port conflict in CI
The workflow services block and Jest globalSetup both started TimescaleDB on port 5433 and Redis on 6380, causing the E2E tests to fail with "port is already allocated".
1 parent 6ad687e commit 8bbb362

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

.github/workflows/test.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -24,29 +24,6 @@ jobs:
2424
e2e-tests:
2525
runs-on: ubuntu-latest
2626
needs: [unit-tests]
27-
services:
28-
timescaledb:
29-
image: timescale/timescaledb:latest-pg17
30-
env:
31-
POSTGRES_DB: hasura_test
32-
POSTGRES_USER: hasura
33-
POSTGRES_PASSWORD: test_password
34-
ports:
35-
- 5433:5432
36-
options: >-
37-
--health-cmd pg_isready
38-
--health-interval 10s
39-
--health-timeout 5s
40-
--health-retries 5
41-
redis:
42-
image: redis:8.4-alpine
43-
ports:
44-
- 6380:6379
45-
options: >-
46-
--health-cmd "redis-cli ping"
47-
--health-interval 10s
48-
--health-timeout 5s
49-
--health-retries 5
5027
steps:
5128
- uses: actions/checkout@v4
5229
- uses: actions/setup-node@v4

0 commit comments

Comments
 (0)