This commit is contained in:
leehk 2025-04-18 05:52:14 +08:00
parent e40aa841ac
commit 19a8c7e7ae

View File

@ -148,12 +148,7 @@ jobs:
run: |
echo "Checking health of Docker services..."
# Check if all services are healthy
docker compose -f "${{ steps.create_compose.outputs.COMPOSE_FILE_PATH }}" ps --filter "status=running" --filter "health=healthy" | grep -q 'healthy'
if [ $? -ne 0 ]; then
echo "Error: One or more services are not healthy."
exit 1
fi
echo "All services are healthy."
docker compose -f "${{ steps.create_compose.outputs.COMPOSE_FILE_PATH }}" ps
- name: Run Tests
shell: bash