We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6159ed2 commit 9784852Copy full SHA for 9784852
.github/workflows/main.yml
@@ -34,6 +34,13 @@ jobs:
34
uses: mikepenz/action-junit-report@v3
35
with:
36
report_paths: 'reports/junit-report.xml'
37
+ - name: Add Test Summary to GitHub Actions
38
+ run: |
39
+ echo "### Test Execution Summary" >> $GITHUB_STEP_SUMMARY
40
+ echo "| Status | Test Name |" >> $GITHUB_STEP_SUMMARY
41
+ echo "|--------|-----------|" >> $GITHUB_STEP_SUMMARY
42
+ cat test-results/cucumber-report.json | jq -r '.[] | "| ✅ Pass | \(.name) |"' >> $GITHUB_STEP_SUMMARY
43
+ cat test-results/cucumber-report.json | jq -r '.[] | select(.status=="failed") | "| ❌ Fail | \(.name) |"' >> $GITHUB_STEP_SUMMARY
44
- uses: actions/upload-artifact@v4
45
if: ${{ !cancelled() }}
46
0 commit comments