Skip to content

Commit

Permalink
seperate sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
maaikelimper committed Jun 2, 2024
1 parent 78f2568 commit 2a4fb21
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@ jobs:
with:
python-version: 3.8

- name: Docker Compose up -d --build, sleep 10 seconds to ensure service is up
- name: Docker Compose up -d --build
working-directory: docker_compose_test
run:
docker-compose up -d --build
sleep 10

- name: Sleep 10 seconds
run: sleep 10

- name: Check status code /list, fail if not 200
run: |
curl -s -o /dev/null -w "%{http_code}" http://localhost:8080/list
Expand Down

0 comments on commit 2a4fb21

Please sign in to comment.