Skip to content

Commit 4909494

Browse files
committed
fix: add error handling for Docker container startup in test setup script
1 parent 7a1a723 commit 4909494

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/ci/test-setup.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ cd "$CURPATH/../../"
77

88
export DOCKER_PHP_RESTART=no
99

10-
docker compose up --build -d --wait
10+
docker compose up --build -d --wait --exit-code-from php || {
11+
echo "Failed to start the Docker containers. Please check the logs for more details."
12+
exit 1
13+
}
1114

1215
# Show the logs
1316
docker compose logs php

0 commit comments

Comments
 (0)