We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e96b960 commit fe5fc67Copy full SHA for fe5fc67
1 file changed
.github/workflows/ci_week7.yml
@@ -32,6 +32,17 @@ jobs:
32
done
33
working-directory: week7
34
35
+ - name: 💤 Wait for backend to become healthy
36
+ run: |
37
+ timeout=30
38
+ for i in $(seq 1 $timeout); do
39
+ status=$(docker inspect --format='{{.State.Health.Status}}' $(docker compose ps -q backend))
40
+ echo "Backend health: $status"
41
+ [ "$status" = "healthy" ] && break
42
+ sleep 1
43
+ done
44
+ working-directory: week7
45
+
46
- name: 🧪 Test API endpoints
47
run: |
48
curl --fail http://localhost:3000/health
0 commit comments