add database health check step to e2e test workflow

This commit is contained in:
mahula 2025-09-28 18:40:09 +02:00
parent 4b318478bc
commit e5bd4b3db1

View File

@ -41,6 +41,12 @@ jobs:
- name: Build and start all Containers
run: docker compose up -d
- name: Wait for Directus to be Ready
run: |
echo "Waiting for Directus API to be ready..."
timeout 120 bash -c 'until curl -f http://localhost:8055/server/health; do echo "Waiting for Directus..."; sleep 5; done'
echo "Directus is ready!"
- name: Seed Backend
run: |
mkdir -p ./data/uploads