ci: use postgres as hostname
Some checks failed
Build and Push Docker Image / tests (push) Failing after 29s
Build and Push Docker Image / build (push) Has been skipped

This commit is contained in:
Lars Hampe 2024-10-01 15:31:22 +02:00
parent 9349fb6c77
commit 079ae7791c

View File

@ -22,9 +22,6 @@ 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:
@ -41,9 +38,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@localhost:5432/postgres POSTGRES_URL: postgres://postgres:postgres@postgres:5432/postgres
- name: Test API - name: Test API
run: bun test:api run: bun test:api
env: env:
POSTGRES_URL: postgres://postgres:postgres@localhost:5432/postgres POSTGRES_URL: postgres://postgres:postgres@postgres:5432/postgres