Skip to content

Commit

Permalink
ci: add wait for container to build
Browse files Browse the repository at this point in the history
  • Loading branch information
mpjk committed Jun 7, 2024
1 parent e7cd245 commit 551ca28
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ jobs:
- name: Docker Compose
run: docker compose up --build -d

- name: Wait for container to build
run: sleep 10

- name: Run end-to-end tests
run: |
curl -f http://localhost:4000 || (docker compose logs && exit 1)

0 comments on commit 551ca28

Please sign in to comment.