Skip to main content

Choose Your Outputs

Actions Insights publishes test results through up to four channels. Each is optional — enable only what your team needs.

Output Decision Matrix

OutputDefaultWhen to useKey inputs
PR commentsOnReviewing failures without leaving the PRcomment-mode
Workflow summaryOnDesktop review on the workflow run pagegenerate-job-summary
HTML artifactOnDeep investigation, offline review, test historyupload-html-report
History repositoryOffOrg-wide dashboards across repos and brancheshistory-enabled

Additionally, GitHub Checks are published by default (publish-checks: true) with file annotations parsed from stack traces.

Pull Request Workflows

Enable PR comments + workflow summary. Most developers review failures in the PR comment; the job summary provides a desktop-friendly table.

- uses: mzbrau/actions-insights@v1
with:
test-results: '**/*.trx'
comment-mode: update
generate-job-summary: true

Main Branch / Scheduled Runs

PR comments are not applicable. Enable workflow summary + HTML artifact for post-run investigation.

- uses: mzbrau/actions-insights@v1
with:
test-results: '**/*.trx'
comment-mode: off
generate-job-summary: true
upload-html-report: true

Organisation-Wide Visibility

Add the history repository on top of any of the above. This pushes structured JSON to a dedicated repo and hosts a React dashboard on GitHub Pages.

Setup Journey

Follow these steps in order:

  1. Prepare test output — configure your test runner to write result files
  2. Add the action — add the Actions Insights step to your workflow
  3. Configure outputs — pick the channels above that match your needs
  4. Example workflows — copy a complete workflow for your scenario

Architecture Overview

For a deeper understanding of how parsing, caching, and publishing work, see Architecture.