Skip to content

Commit 185cc26

Browse files
committed
Test everything including pg integration
1 parent 0be6170 commit 185cc26

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/libp2p-rust-dht.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,19 @@ jobs:
226226

227227
runs-on: ubuntu-latest
228228

229+
services:
230+
postgres:
231+
image: postgres
232+
env:
233+
POSTGRES_PASSWORD: mysecretpassword
234+
options: >-
235+
--health-cmd pg_isready
236+
--health-interval 10s
237+
--health-timeout 5s
238+
--health-retries 5
239+
ports:
240+
- 5432:5432
241+
229242
steps:
230243
- uses: actions/checkout@v3
231244

@@ -271,7 +284,7 @@ jobs:
271284
RUSTFLAGS: "-Cinstrument-coverage"
272285
LLVM_PROFILE_FILE: "libp2p-rust-dht-%p-%m.profraw"
273286
run: |
274-
cargo test --verbose
287+
cargo test --verbose --all
275288
276289
- name: Run grcov
277290
run: |

0 commit comments

Comments
 (0)