diff --git a/script/drone-run-tests.sh b/script/drone-run-tests.sh index 1f226d6..c8ccd9a 100755 --- a/script/drone-run-tests.sh +++ b/script/drone-run-tests.sh @@ -6,7 +6,7 @@ docker-compose -p ci --file docker-compose.test.yml up --build echo "Inspecting exited containers:" docker-compose -p ci --file docker-compose.test.yml ps -docker-compose -p ci --file docker-compose.test.yml ps -q | xargs docker inspect -p ci -f '{{ .State.ExitCode }}' | while read code; do +docker-compose -p ci --file docker-compose.test.yml ps -q | xargs docker inspect -f '{{ .State.ExitCode }}' | while read code; do echo "Exit code is currently $code" if [ "$code" != "0" ]; then exit $code