shell wait

This commit is contained in:
resonic-user 2025-06-15 20:18:45 +00:00
parent 23da28d710
commit 04e06429bc

View File

@ -65,9 +65,6 @@ jobs:
cd ..
yarn install
- name: Install wait-on (temporary)
run: yarn add --no-lockfile wait-on
- name: Cache cypress
uses: actions/cache@v4
with:
@ -135,9 +132,9 @@ jobs:
docker load -i /tmp/mailserver.tar || true
docker compose -f docker-compose.yml -f docker-compose.test.yml up --detach backend mailserver webapp
- name: Wait for webapp to be ready
- name: Wait for webapp
run: |
npx wait-on http://localhost:3000 --timeout 120000
for i in {1..30}; do curl -sf http://localhost:3000 && exit 0 || sleep 2; done; exit 1
- name: Full stack tests | run tests
id: e2e-tests