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.

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
- Open the workflow run on GitHub
- Scroll to Artifacts
- Download
actions-insights-report - Open
test-reports/{branch}/latest/index.htmllocally
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
| Input | Default | Description |
|---|---|---|
upload-html-report | true | Upload HTML report artifact |
artifact-retention-days | 30 | Artifact retention on GitHub |
history | 20 | Max historical runs per branch/PR |
retain-days | 30 | Max age for historical runs |
theme | auto | light, dark, or auto |