Skip to content

Commit beaadac

Browse files
committed
treadmill-ci: group output by test in GitHub actions
1 parent 783315f commit beaadac

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/treadmill-ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,9 @@ jobs:
277277
while read TEST; do
278278
# WHILE ---------->
279279
280+
# Open a new "group" in the GitHub actions output for this test:
281+
echo "::group::Test ${TEST}"
282+
280283
# For markdown links, we want a sanitized test name without special characters
281284
SANITIZED_TEST_NAME="${TEST//[^[:alnum:]]/_}"
282285
@@ -320,6 +323,9 @@ jobs:
320323
321324
STEP_SUMMARY_DETAILS
322325
326+
# Close the "group" in the GitHub actions output:
327+
echo "::endgroup::"
328+
323329
# -----------> DONE
324330
done < <(echo "$JSON_TEST_ARRAY" | jq -r -c '.[]')
325331

0 commit comments

Comments
 (0)