Skip to content

Commit

Permalink
CI: rename workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
sleelin committed Jun 24, 2024
1 parent da45a8b commit 7828a84
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/ci-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,25 @@ permissions:
checks: write
jobs:
report:
name: Report on Unit Tests
runs-on: ubuntu-latest
steps:
- uses: dorny/test-reporter@v1
- id: report
uses: dorny/test-reporter@v1
with:
artifact: test-results
name: Report on Unit Tests
path: test/results-report.json
name: Unit Test Results
path: results-report.json
reporter: mocha-json
summarise:
name: Report on Unit Tests
runs-on: ubuntu-latest
needs: report
steps:
- run: |
echo "## Unit Test Results" >> $GITHUB_STEP_SUMMARY
echo ":white_check_mark: ${{needs.report.outputs.passed}} passed" >> $GITHUB_STEP_SUMMARY
echo ":x: ${{needs.report.outputs.failed}} failed" >> $GITHUB_STEP_SUMMARY
echo ":white_circle: ${{needs.report.outputs.skipped}} skipped" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "[View Full Report](${{needs.report.outputs.url_html}})" >> $GITHUB_STEP_SUMMARY
File renamed without changes.
File renamed without changes.

0 comments on commit 7828a84

Please sign in to comment.