Skip to content

Commit

Permalink
Fix no wait for containers to start in cypress job
Browse files Browse the repository at this point in the history
  • Loading branch information
gf-rog committed Apr 25, 2024
1 parent 556970e commit 3cca642
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,13 @@ jobs:
with:
compose-file: "compose.yml"

- name: Wait for containers to start
run: |
sleep 100
docker run \
--rm \
--network mercury-project_default \
alpine/curl -o /dev/null --retry 3 --retry-connrefused backend:5000
- name: Run Cypress Tests
run: cd frontend; npm i && npm run cy:run

0 comments on commit 3cca642

Please sign in to comment.