ci: debug docker ps
This commit is contained in:
parent
0a237cc482
commit
9349fb6c77
@ -5,7 +5,6 @@ on: [workflow_call]
|
|||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: node:20-bookworm-slim
|
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:17-alpine
|
image: postgres:17-alpine
|
||||||
@ -23,6 +22,9 @@ jobs:
|
|||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
steps:
|
steps:
|
||||||
|
- name: Test Print
|
||||||
|
run: docker ps
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -39,9 +41,9 @@ jobs:
|
|||||||
- name: Push Database
|
- name: Push Database
|
||||||
run: bun run db:push
|
run: bun run db:push
|
||||||
env:
|
env:
|
||||||
POSTGRES_URL: postgres://postgres:postgres@postgres:5432/postgres
|
POSTGRES_URL: postgres://postgres:postgres@localhost:5432/postgres
|
||||||
|
|
||||||
- name: Test API
|
- name: Test API
|
||||||
run: bun test:api
|
run: bun test:api
|
||||||
env:
|
env:
|
||||||
POSTGRES_URL: postgres://postgres:postgres@postgres:5432/postgres
|
POSTGRES_URL: postgres://postgres:postgres@localhost:5432/postgres
|
Loading…
Reference in New Issue
Block a user