mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-04-04 16:45:30 +00:00
add database health check step to e2e test workflow
This commit is contained in:
parent
4b318478bc
commit
e5bd4b3db1
6
.github/workflows/test.e2e.yml
vendored
6
.github/workflows/test.e2e.yml
vendored
@ -41,6 +41,12 @@ jobs:
|
|||||||
- name: Build and start all Containers
|
- name: Build and start all Containers
|
||||||
run: docker compose up -d
|
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
|
- name: Seed Backend
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ./data/uploads
|
mkdir -p ./data/uploads
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user