Skip to content

Commit 738cb59

Browse files
committed
fix ci cd finalized
1 parent ed1b7f5 commit 738cb59

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci-cd.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
needs: check
3535
services:
3636
postgres:
37-
image: postgres:15
37+
image: postgres:13
3838
ports:
3939
- 5432:5432
4040
env:
@@ -47,7 +47,7 @@ jobs:
4747
--health-timeout 5s
4848
--health-retries 5
4949
env:
50-
DATABASE_URL: postgres://devuser:devpassword@127.0.0.1:5432/devdb
50+
DATABASE_URL: postgres://devuser:devpassword@localhost:5432/devdb
5151
DB_HOST: localhost
5252
DB_PORT: 5432
5353
DB_USER: devuser
@@ -81,6 +81,9 @@ jobs:
8181
- name: Run tests with macro backtrace
8282
run: cargo test --features ssr -- -Z macro-backtrace
8383

84+
- name: Print Postgres logs
85+
run: docker logs $(docker ps -q --filter "ancestor=postgres:15")
86+
8487
build:
8588
name: Build WASM
8689
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)