Skip to content

Commit 2419248

Browse files
authored
Restores markdown table summarizing results from upstream MGMN tests that were removed in #440. (#498)
Instead of restoring it in .summary, it is put into .full_result_markdown so that summary can be kept concise
1 parent cf08244 commit 2419248

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/_sitrep_mgmn.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
echo "Test statuses:"
5353
jq -rc 'input_filename,.' $EXIT_STATUSES
5454
55+
cat $EXIT_STATUS_SUMMARY_FILE >> $GITHUB_STEP_SUMMARY
5556
echo "EXIT_STATUS_SUMMARY_FILE=$EXIT_STATUS_SUMMARY_FILE" >> ${GITHUB_OUTPUT}
5657
5758
- name: Write metrics summary
@@ -67,6 +68,7 @@ jobs:
6768
echo '```'
6869
done | tee -a $METRICS_SUMMARY_FILE
6970
71+
cat $METRICS_SUMMARY_FILE >> $GITHUB_STEP_SUMMARY
7072
echo "METRICS_SUMMARY_FILE=$METRICS_SUMMARY_FILE" >> ${GITHUB_OUTPUT}
7173
7274
- name: Generate sitrep
@@ -107,11 +109,14 @@ jobs:
107109
108110
badge_label='Upstream ${{ inputs.FW_NAME }} Tests'
109111
summary="# ${{ inputs.FW_NAME }} MGMN Test: $badge_message"
112+
full_result_markdown=$(cat ${{ steps.exit-status.outputs.EXIT_STATUS_SUMMARY_FILE }})
113+
full_result_markdown+=$(cat ${{ steps.metrics.outputs.METRICS_SUMMARY_FILE }})
110114
111115
to_json \
112116
summary \
113117
total_tests passed_tests failed_tests \
114118
badge_label badge_color badge_message \
119+
full_result_markdown \
115120
> sitrep.json
116121
117122
schemaVersion=1 \

0 commit comments

Comments
 (0)