mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-03-01 12:44:17 +00:00
Revert "clean up e2e github workflow"
This reverts commit 96975ed9115c877ce18783f717a17d7d095b533b.
This commit is contained in:
parent
96975ed911
commit
0dce5731b5
13
.github/workflows/test.e2e.yml
vendored
13
.github/workflows/test.e2e.yml
vendored
@ -31,6 +31,13 @@ jobs:
|
||||
npm run build
|
||||
working-directory: ./app
|
||||
|
||||
- name: Clean Database State
|
||||
run: |
|
||||
# Remove any existing database data to ensure fresh state
|
||||
sudo rm -rf ./data/database
|
||||
mkdir -p ./data/uploads
|
||||
sudo chmod 777 -R ./data
|
||||
|
||||
- name: Build and start all Containers
|
||||
run: docker compose up -d
|
||||
|
||||
@ -47,6 +54,12 @@ jobs:
|
||||
cd backend && ./seed.sh
|
||||
working-directory: ./
|
||||
|
||||
- name: Wait for Application to be Ready
|
||||
run: |
|
||||
echo "Waiting for application to be ready..."
|
||||
timeout 300 bash -c 'until curl -f http://localhost:8080/login; do sleep 5; done'
|
||||
echo "Application is ready!"
|
||||
|
||||
- name: Health Check
|
||||
run: |
|
||||
echo "Frontend health check:"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user