testglance/TestGlance
Zero-config test reporting: parse JUnit/CTRF, get CI summaries, PR comments, inline annotations, and flaky detection.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| report-path | Path to test report file(s). Supports glob patterns (e.g., **/test-results/*.xml). When omitted, auto-detects common test report locations. | no | "" |
| api-key | TestGlance project API key (reserved — SaaS dashboard coming soon; currently inactive) | no | "" |
| api-url | TestGlance API URL (reserved — SaaS dashboard coming soon) | no | https://www.testglance.dev |
| report-format | Report format: junit, ctrf, or auto (default: auto-detect from file extension) | no | auto |
| test-job-name | Override the display name for this test job in TestGlance | no | "" |
| slowest-tests | Number of slowest tests to show in the CI summary (0 to disable) | no | 10 |
| show-all-tests | Show every test name under each suite in the CI summary. "auto" (default) shows them when the run is small enough to fit (≤200 tests, or ≤1000 tests when there is a single suite). "true" forces on, "false" forces off. | no | auto |
| send-results | Send parsed results to TestGlance API (set to false for dry-run testing) | no | true |
| github-token | GitHub token for PR comments. Use github.token or a PAT with pull-requests: write scope. | no | — |
| annotate-failures | Annotate failed tests inline on the PR diff via a GitHub Check Run (requires checks: write permission) | no | false |
| create-check | Deprecated — use annotate-failures instead | no | false |
| check-name | Name of the GitHub Check Run created by annotate-failures | no | Test Results |
| annotation-level | Severity for inline failure annotations: failure (default), warning, or notice. warning/notice keep the check advisory so it is less likely to trip required-checks branch protection. | no | failure |
| flaky-threshold | Minimum status flips to flag a test as flaky (positive integer, last 10 runs) | no | 2 |
| perf-threshold | Percentage increase over median duration to flag as performance regression (default: 200 means 3x slower) | no | 200 |
| history | Enable run history tracking via Actions Cache | no | true |
| history-limit | Maximum number of runs to keep in history | no | 20 |
| compare-branch | On pull_request builds, baseline the trend line / trend blocks and the "vs base" comparison against this branch (e.g. main). Defaults to the PR base branch (GITHUB_BASE_REF). Ignored on push builds. | no | "" |
| html-report | Generate a self-contained HTML report and upload as a workflow artifact | no | true |
| artifact-name | Name of the uploaded HTML report artifact | no | testglance-report |
| summary-template | Path to a Handlebars template file for the CI job summary. When set, replaces the default summary rendering. Path is resolved relative to GITHUB_WORKSPACE. | no | "" |
| comment-template | Path to a Handlebars template file for PR comments. When set, replaces the default per-job comment body. Path is resolved relative to GITHUB_WORKSPACE. | no | "" |
Outputs
no outputs