mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-02-09 00:43:33 +08:00
update
This commit is contained in:
parent
e40aa841ac
commit
19a8c7e7ae
7
.github/workflows/template_test.yml
vendored
7
.github/workflows/template_test.yml
vendored
@ -148,12 +148,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "Checking health of Docker services..."
|
echo "Checking health of Docker services..."
|
||||||
# Check if all services are healthy
|
# 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'
|
docker compose -f "${{ steps.create_compose.outputs.COMPOSE_FILE_PATH }}" ps
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
echo "Error: One or more services are not healthy."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
echo "All services are healthy."
|
|
||||||
|
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user