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 https://github.com/actions/runner/issues/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 <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Johannes Schindelin committed
May 21, 2022 at 22:18 UTC
0068c82a13d321b567cade0309eff8421bb2358d
1 file changed
+2
-2
ci/lib.sh
+2
-2
@@ -177,7 +177,7 @@ then
177
test_name="${test_exit%.exit}"
178
test_name="${test_name##*/}"
179
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"
181
182
trash_dir="t/trash directory.$test_name"
183
cp "t/test-results/$test_name.out" t/failed-test-artifacts/
@@ -189,7 +189,7 @@ then
189
cache_dir="$HOME/none"
190
191
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"
193
MAKEFLAGS="$MAKEFLAGS --jobs=10"
194
test windows != "$CI_OS_NAME" ||
195
GIT_TEST_OPTS="--no-chain-lint --no-bin-wrappers $GIT_TEST_OPTS"