ci: test ping
Some checks failed
Test / build (push) Failing after 7s

This commit is contained in:
Lars Hampe 2024-10-01 16:22:47 +02:00
parent 523511dba8
commit 0a0c2a131a

View File

@ -26,6 +26,9 @@ jobs:
ports: ports:
- 5432:5432 - 5432:5432
steps: steps:
- name: test ping
run: ping postgres
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
@ -42,9 +45,9 @@ jobs:
- name: Push Database - Test - name: Push Database - Test
run: bun run db:push run: bun run db:push
env: env:
POSTGRES_URL: postgres://postgres:postgres@10.0.0.145: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@10.0.0.145:5432/postgres POSTGRES_URL: postgres://postgres:postgres@localhost:5432/postgres