From c7701e1396c37662804fb0ba787e62595bf66430 Mon Sep 17 00:00:00 2001 From: jeffav <31144003+jeffav@users.noreply.github.com> Date: Thu, 4 Mar 2021 17:44:42 -0800 Subject: [PATCH] Update entrypoint.sh --- entrypoint.sh | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 076b226..d356525 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,5 +1,7 @@ #!/bin/sh -l +# Testing script for CI. + # echo commands and exit with failure if any commands fail set -ex @@ -7,5 +9,18 @@ apt-get update apt-get install -y \ clang-format - -./ci.sh + +# Check formatting +./format/check.sh +format_ret=$? + +# disable echo for summaries +set +x + +# print summaries +echo format return $format_ret + +status=$(format_ret) +echo exit status $status + +exit $status