Skip to main content

HTML Artifact

Actions Insights generates a standalone, responsive, interactive HTML report and uploads it as a workflow artifact. The report includes per-run details and basic test history merged across runs.

Interactive web report workflow summary

When to Enable

Enable the HTML artifact when you need:

  • Deep investigation beyond what fits in a PR comment
  • Offline review of test results
  • Per-branch test history across workflow runs
  • Sharing reports with stakeholders who do not have PR access

Configuration

HTML artifact upload is enabled by default (upload-html-report: true).

- uses: mzbrau/actions-insights@v1
with:
test-results: '**/*.trx'
upload-html-report: true
artifact-retention-days: 30
history: 20
retain-days: 30
theme: auto

To disable:

with:
upload-html-report: false

Accessing the Report

  1. Open the workflow run on GitHub
  2. Scroll to Artifacts
  3. Download actions-insights-report
  4. Open test-reports/{branch}/latest/index.html locally

History Across Runs

Report history is preserved via Actions cache. Each run merges into the cached site tree, prunes old runs per history and retain-days, and re-uploads the complete site.

For persistent, org-wide history across repositories, see History Repository.

Key Inputs

InputDefaultDescription
upload-html-reporttrueUpload HTML report artifact
artifact-retention-days30Artifact retention on GitHub
history20Max historical runs per branch/PR
retain-days30Max age for historical runs
themeautolight, dark, or auto

Learn More