diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2022-06-08 13:43:18 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-06-09 02:12:37 +0300 |
commit | 5aeb145780ffdfd516ad6fa697e7e14ba29be0bf (patch) | |
tree | 45ceb3d99492022d3a5d17c3f4992c27bd653c8d /ci | |
parent | 3069f2a6f4c38e7e599067d2e4a8e31b4f53e2d3 (diff) |
ci(github): bring back the 'print test failures' step
Git now shows better information in the GitHub workflow runs when a test
case failed. However, when a test case was implemented incorrectly and
therefore does not even run, nothing is shown.
Let's bring back the step that prints the full logs of the failed tests,
and to improve the user experience, print out an informational message
for readers so that they do not have to know/remember where to see the
full logs.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/lib.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -177,7 +177,8 @@ then test_name="${test_exit%.exit}" test_name="${test_name##*/}" printf "\\e[33m\\e[1m=== Failed test: ${test_name} ===\\e[m\\n" - echo "The full logs are in the artifacts attached to this run." + echo "The full logs are in the 'print test failures' step below." + echo "See also the 'failed-tests-*' artifacts attached to this run." cat "t/test-results/$test_name.markup" trash_dir="t/trash directory.$test_name" |