We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b46942 commit 601ec89Copy full SHA for 601ec89
.github/workflows/checks.yaml
@@ -50,8 +50,11 @@ jobs:
50
run: docker-compose up -d --build
51
- name: Wait for app startup
52
run: |
53
- { sleep 120; echo "TIMEOUT!"; return 5; } &
54
- while ! $(curl localhost:8080 -so /dev/null); do echo "Waiting for the app to be up..."; docker-compose ps; sleep 5; done
+ for i in $(seq 1 24); do
+ sleep 5; curl localhost:8080 -so /dev/null && return;
55
+ docker-compose ps;
56
+ echo "Retrying ($i) in 5 seconds...";
57
+ done
58
- name: Run integration tests
59
shell: bash
60
run: pytest tests/test_integration
0 commit comments