File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
coprocessor/fhevm-engine/tfhe-worker Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,8 @@ jobs:
120120 run : |
121121 nohup docker compose up -d --build db-migration > /tmp/db-init.log 2>&1 &
122122 working-directory : coprocessor/fhevm-engine/tfhe-worker
123+ env :
124+ DB_HOST_PORT : 15432
123125
124126 - name : Setup Rust toolchain file
125127 run : cp coprocessor/fhevm-engine/rust-toolchain.toml .
@@ -161,7 +163,7 @@ jobs:
161163
162164 - name : Compile tests with coverage instrumentation
163165 env :
164- DATABASE_URL : postgresql://postgres:postgres@localhost:5432 /coprocessor
166+ DATABASE_URL : postgresql://postgres:postgres@localhost:15432 /coprocessor
165167 SQLX_OFFLINE : ' true'
166168 TEST_PACKAGE : ${{ matrix.package }}
167169 run : |
@@ -195,7 +197,7 @@ jobs:
195197
196198 - name : Run tests with coverage
197199 env :
198- DATABASE_URL : postgresql://postgres:postgres@localhost:5432 /coprocessor
200+ DATABASE_URL : postgresql://postgres:postgres@localhost:15432 /coprocessor
199201 SQLX_OFFLINE : ' true'
200202 COPROCESSOR_TEST_LOCALHOST : ' 1'
201203 TEST_GLOBAL_LOCALSTACK : ${{ matrix.needs_localstack && '1' || '0' }}
Original file line number Diff line number Diff line change @@ -171,6 +171,8 @@ jobs:
171171 run : |
172172 nohup docker compose up -d --build db-migration > /tmp/db-init.log 2>&1 &
173173 working-directory : coprocessor/fhevm-engine/tfhe-worker
174+ env :
175+ DB_HOST_PORT : 15432
174176
175177 - name : Use Node.js
176178 uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
@@ -218,7 +220,7 @@ jobs:
218220 env :
219221 IS_MERGE_QUEUE : ${{ startsWith(github.head_ref, 'mergify/merge-queue/') && '1' || '0' }}
220222 run : |
221- export DATABASE_URL=postgresql://postgres:postgres@localhost:5432 /coprocessor
223+ export DATABASE_URL=postgresql://postgres:postgres@localhost:15432 /coprocessor
222224 export COPROCESSOR_TEST_LOCALHOST=1
223225 # Merge queue: leave unset so supported_types() defaults to full matrix.
224226 # PR CI: run only FHEUint64 for faster feedback.
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ services:
99 POSTGRES_USER : postgres
1010 POSTGRES_PASSWORD : postgres
1111 ports :
12- - ' 5432:5432'
12+ - ' ${DB_HOST_PORT:- 5432} :5432'
1313 healthcheck :
1414 test : [ "CMD-SHELL", "pg_isready -U postgres" ]
1515 interval : 10s
You can’t perform that action at this time.
0 commit comments