Skip to content

Commit c54658f

Browse files
committed
step
1 parent af84eef commit c54658f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/package_core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ jobs:
280280
pattern: test-report-*
281281
merge-multiple: true
282282

283-
- run: extra/ci_collect_logs.sh
283+
- run: extra/ci_collect_logs.sh > $GITHUB_STEP_SUMMARY
284284

285285
# - name: Clean up intermediate artifacts
286286
# uses: geekyeggo/[email protected]

extra/ci_collect_logs.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ details_line() {
3535

3636
ARTIFACTS=$(jq -cr 'map(.artifact) | unique | .[]' <<< ${ALL_BOARD_DATA}) # this avoids the 'zephyr' artifact
3737
for artifact in $ARTIFACTS ; do
38-
echo "### \`$artifact\` test results:"
38+
echo -e "### \`$artifact\` test results:\n<ul>"
3939
jq -c "map(select(.artifact == \"$artifact\")) | .[]" <<< ${ALL_BOARD_DATA} | while read -r BOARD_DATA; do
4040
BOARD=$(echo $BOARD_DATA | jq -cr '.board')
4141
VARIANT=$(echo $BOARD_DATA | jq -cr '.variant')
@@ -81,7 +81,7 @@ for artifact in $ARTIFACTS ; do
8181
artifact_entry ":white_check_mark:" "All $SKETCH_COUNT sketches built successfully"
8282
;;
8383
warning)
84-
artifact_entry ":grey_exclamation:" "All $SKETCH_COUNT sketches built, $SKETCH_WARNINGS with warnings" "$ARTIFACT_LINK"
84+
artifact_entry ":grey_exclamation:" "All $SKETCH_COUNT sketches built ($SKETCH_WARNINGS with warnings)" "$ARTIFACT_LINK"
8585
;;
8686
error)
8787
artifact_entry ":x:" "$SKETCH_ERRORS out of $SKETCH_COUNT sketches failed to build" "$ARTIFACT_LINK"
@@ -91,4 +91,5 @@ for artifact in $ARTIFACTS ; do
9191
;;
9292
esac
9393
done
94+
echo "</ul>"
9495
done

0 commit comments

Comments
 (0)