Skip to content

Commit 0276842

Browse files
dschogitster
authored andcommitted
ci: use --github-workflow-markup in the GitHub workflow
This makes the output easier to digest. Note: since workflow output currently cannot contain any nested groups (see actions/runner#802 for details), we need to remove the explicit grouping that would span the entirety of each failed test script. Signed-off-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent bd8bf87 commit 0276842

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/lib.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ then
177177
test_name="${test_exit%.exit}"
178178
test_name="${test_name##*/}"
179179
printf "\\e[33m\\e[1m=== Failed test: ${test_name} ===\\e[m\\n"
180-
group "Failed test: $test_name" cat "t/test-results/$test_name.out"
180+
cat "t/test-results/$test_name.markup"
181181

182182
trash_dir="t/trash directory.$test_name"
183183
cp "t/test-results/$test_name.out" t/failed-test-artifacts/
@@ -189,7 +189,7 @@ then
189189
cache_dir="$HOME/none"
190190

191191
export GIT_PROVE_OPTS="--timer --jobs 10"
192-
export GIT_TEST_OPTS="--verbose-log -x"
192+
export GIT_TEST_OPTS="--verbose-log -x --github-workflow-markup"
193193
MAKEFLAGS="$MAKEFLAGS --jobs=10"
194194
test windows != "$CI_OS_NAME" ||
195195
GIT_TEST_OPTS="--no-chain-lint --no-bin-wrappers $GIT_TEST_OPTS"

0 commit comments

Comments
 (0)