Skip to content

Commit 3632e9f

Browse files
Copilotyi-nuo426
andcommitted
Address code review feedback for integration test workflow
Co-authored-by: yi-nuo426 <218099172+yi-nuo426@users.noreply.github.com>
1 parent 86b4262 commit 3632e9f

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/test-meshery-integration.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
types: [opened, synchronize, reopened]
66
paths-ignore:
77
- 'system/**/*'
8-
- '.github/**/*'
98
- '*.md'
109

1110
jobs:
@@ -75,9 +74,14 @@ jobs:
7574
run: |
7675
echo "## Integration Test Results" >> $GITHUB_STEP_SUMMARY
7776
echo "" >> $GITHUB_STEP_SUMMARY
78-
echo "✅ Sistent changes were successfully tested" \
79-
>> $GITHUB_STEP_SUMMARY
80-
echo " against Meshery UI" >> $GITHUB_STEP_SUMMARY
77+
if [ "${{ job.status }}" == "success" ]; then
78+
echo "✅ Sistent changes were successfully tested" \
79+
>> $GITHUB_STEP_SUMMARY
80+
echo " against Meshery UI" >> $GITHUB_STEP_SUMMARY
81+
else
82+
echo "❌ Integration test failed" \
83+
>> $GITHUB_STEP_SUMMARY
84+
fi
8185
echo "" >> $GITHUB_STEP_SUMMARY
8286
echo "### Details" >> $GITHUB_STEP_SUMMARY
8387
echo "- **Sistent Package**: ${{ env.SISTENT_PACKAGE }}" \
@@ -89,4 +93,5 @@ jobs:
8993
echo "- **Meshery UI Build**: ❌ Failed" \
9094
>> $GITHUB_STEP_SUMMARY
9195
fi
92-
echo "- **Node Version**: 20" >> $GITHUB_STEP_SUMMARY
96+
echo "- **Node Version**: 20" \
97+
>> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)