Skip to content

Commit

Permalink
Add summary with web page link to test report workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ZIMkaRU committed Oct 10, 2023
1 parent 4422f70 commit 28ada1a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test-report.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: 'Test Report'
run-name: 'Test Report: Commit ${{ github.sha }}'

on:
workflow_run:
Expand All @@ -12,12 +13,18 @@ permissions:
checks: write

jobs:
report:
web-page-report:
name: Web Page Report
runs-on: ubuntu-22.04
steps:
- uses: dorny/test-reporter@v1
id: test-results
with:
artifact: test-results
name: Test Report
name: Mocha Tests
path: test-report.json
reporter: mocha-json
- name: Test Report Summary
run: |
echo "### Test Report page is ready! :rocket:" >> $GITHUB_STEP_SUMMARY
echo "And available at the following [Link](${{ steps.test-results.outputs.url_html }})" >> $GITHUB_STEP_SUMMARY

0 comments on commit 28ada1a

Please sign in to comment.