Skip to content

Commit

Permalink
feat(ci): another attempt for better output grouping
Browse files Browse the repository at this point in the history
GitHub Actions don't group output precisely. Another attempt to make the
output look good.
  • Loading branch information
mkoura committed Nov 13, 2024
1 parent 996a471 commit 1d31044
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/regression.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@ if [ -n "${BOOTSTRAP_DIR:-""}" ]; then
export MAKE_TARGET="${MAKE_TARGET:-"testnets"}"
fi

echo "::endgroup::" # end group for "Script setup"

echo "::group::Dependencies setup"
echo "### Dependencies setup ###"

# setup dbsync (disabled by default)
case "${DBSYNC_REV:-""}" in
Expand Down Expand Up @@ -131,9 +129,9 @@ case "${CARDANO_CLI_REV:-""}" in
;;
esac

echo "::endgroup::" # end group for "Dependencies setup"
df -h .

echo "::group::Cleanup setup"
echo "### Cleanup setup ###"

_cleanup() {
# stop all running cluster instances
Expand Down Expand Up @@ -177,7 +175,7 @@ _interrupted() {
}
trap 'set +e; _interrupted; exit 130' SIGINT
echo "::endgroup::" # end group for "Cleanup setup"
echo "::endgroup::" # end group for "Script setup"
echo "::group::Nix env setup"
printf "start: %(%H:%M:%S)T\n" -1
Expand Down

0 comments on commit 1d31044

Please sign in to comment.