Skip to content

Commit c5ec2c6

Browse files
committed
Map ports
1 parent cf3bf2b commit c5ec2c6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ jobs:
144144
--health-interval 10s
145145
--health-timeout 5s
146146
--health-retries 5
147+
ports:
148+
- 5432:5432
147149

148150
steps:
149151
- name: Check out repository code
@@ -157,5 +159,5 @@ jobs:
157159
- name: Connect to PostgreSQL
158160
run: |
159161
cargo build --bin site --release
160-
timeout 5s cargo run --bin site --release 'postgresql://postgres:postgres@localhost:5432/rustcperf' 2>&1 | tee -a log
162+
timeout 5s cargo run --bin site --release 'postgresql://postgres:postgres@localhost:5432/postgres' 2>&1 | tee -a log
161163
grep -Fxq "Loading complete but no data identified" log

0 commit comments

Comments
 (0)