From 28ada1a2ec5022554c4a512cb323d22e374da960 Mon Sep 17 00:00:00 2001 From: Vladimir Voronkov Date: Tue, 10 Oct 2023 15:17:43 +0300 Subject: [PATCH] Add summary with web page link to test report workflow --- .github/workflows/test-report.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-report.yml b/.github/workflows/test-report.yml index eb50c5e6..925aaf43 100644 --- a/.github/workflows/test-report.yml +++ b/.github/workflows/test-report.yml @@ -1,4 +1,5 @@ name: 'Test Report' +run-name: 'Test Report: Commit ${{ github.sha }}' on: workflow_run: @@ -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