Skip to content

Commit 5181680

Browse files
authored
gh_report: include icon per test (#3980)
The top left column in test case includes most interesting action from the row. This allows quickly seeing flaky vs failing vs known failures. Same logic in how we summarize env status with a single icon. Example how it looks: #3980 (comment) Actual look: #3961 (comment)
1 parent d150916 commit 5181680

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tools/gh_parse.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,9 +520,15 @@ def key(column):
520520
table = []
521521
for test_key, items in simplified_results.items():
522522
package_name, testname = test_key
523+
status = "??"
524+
for action in ACTIONS_WITH_ICON:
525+
if action in items.values():
526+
status = action[:2]
527+
break
523528
items_proc = dict((k, short_action(v)) for (k, v) in items.items())
524529
table.append(
525530
{
531+
" ": status,
526532
"Test Name": testname,
527533
**items_proc,
528534
}

0 commit comments

Comments
 (0)