ci: debug docker ps
Some checks failed
Build and Push Docker Image / tests (push) Failing after 33s
Build and Push Docker Image / build (push) Has been skipped

This commit is contained in:
Lars Hampe 2024-10-01 15:23:29 +02:00
parent 0a237cc482
commit 9349fb6c77

View File

@ -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