diff --git a/tests/it.sh b/tests/it.sh index af7b0d5..b4990d1 100755 --- a/tests/it.sh +++ b/tests/it.sh @@ -6,11 +6,10 @@ function section { e=$'\e' if [ ! -z "${GITHUB_ACTION:-}" ]; then echo "::endgroup::" - fi - if [ ! -z "${GITHUB_ACTION:-}" ]; then echo "::group::$@" + else + echo "$e[1m$@$e[m" fi - echo "$e[1m$@$e[m" } function error {