Skip to content

Commit 38139d9

Browse files
committed
Add underline below log header.
1 parent 1ca0e17 commit 38139d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/gha/summarize_test_results.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ def print_log(log_results):
205205
def print_github_log(log_results):
206206
"""Print a text log, but replace newlines with %0A and add
207207
the GitHub ::error text."""
208-
output_lines = [LOG_HEADER, ""] + print_log(log_results)
208+
output_lines = [LOG_HEADER,
209+
"".ljust(len(LOG_HEADER), "—"),
210+
""] + print_log(log_results)
209211
# "%0A" produces a newline in GitHub workflow logs.
210212
return ["::error ::%s" % "%0A".join(output_lines)]
211213

0 commit comments

Comments
 (0)