diff --git a/.github/workflows/gradle-build.yml b/.github/workflows/gradle-build.yml index 2c5bd6e5..16190d3a 100644 --- a/.github/workflows/gradle-build.yml +++ b/.github/workflows/gradle-build.yml @@ -19,8 +19,18 @@ jobs: - name: Execute Gradle build run: ./gradlew check --scan -stacktrace - - name: 'Upload Artifact' + - name: 'Upload Test Results' uses: actions/upload-artifact@v4 with: name: 'Test Results' - path: build/reports/tests \ No newline at end of file + path: build/reports/tests + + - name: 'Generate Test Results Preview' + uses: pavi2410/html-preview-action@v2 + id: preview_test_reports + with: + html_file: 'build/reports/tests/test/index.html' + + - name: 'Show Test Result Preview' + run: + echo "::notice ${{ format('[Click here to preview Test Results HTML page in browser]({0})', steps.preview_test_reports.outputs.url) }}" \ No newline at end of file