chrono/ci/_shlib.sh
Brandon W Maister c2fe38cd84 clean up github workflows ui
This puts different kinds of tests in different job names, instead of
shoehorning them into the matrix.
2020-06-27 15:25:17 -04:00

20 lines
483 B
Bash

#!/usr/bin/env bash
# Use github workflow commands to make sections of the tests more obvious
# https://help.github.com/en/actions/reference/workflow-commands-for-github-actions
# Run a test as a "group" -- output will be folded and hidden by default
runt() {
echo "::group::$*"
# stdout is occasionally swallowed by gh actions
"$@" >&2
echo "::endgroup::$*"
}
runv() {
echo "🚀>$ $*" >&2
# stdout is occasionally swallowed by gh actions
"$@" >&2
}