ctrf-io/GitHub Test Reporter

Build, publish and view test reports on job summaries and pull requests

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 5, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: ctrf-io/github-test-reporter@e500b992f936420eb633c91644cf10d4d71df700 # v1.1.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
report-pathPath or glob pattern of the CTRF JSON files.yes
template-pathPath to the Handlebars template for customizing markdown output.no
titleTitle to display in the GitHub Actions summary or pull request comment.no
summary-reportInclude the summary report.nofalse
summary-delta-reportInclude the summary delta report.nofalse
tests-changed-reportInclude the tests changed report showing added and removed tests.nofalse
github-reportInclude the GitHub report.nofalse
test-reportInclude the tests table report.nofalse
test-list-reportInclude the tests list report.nofalse
failed-reportInclude the failed tests report.nofalse
fail-rate-reportInclude the fail rate report.nofalse
flaky-reportInclude the flaky tests report.nofalse
flaky-rate-reportInclude the flaky rate report.nofalse
failed-folded-reportInclude the failed folded report.nofalse
previous-results-reportInclude the previous results report.nofalse
ai-reportInclude the AI analysis report.nofalse
ai-summary-reportInclude the AI summary report with structured analysis (summary, code issues, timeout issues, application issues, recommendations)nofalse
skipped-reportInclude the skipped report.nofalse
suite-folded-reportInclude the suite folded report.nofalse
suite-list-reportInclude the suite list report.nofalse
file-reportInclude the file report showing tests grouped by file path.nofalse
insights-reportInclude the insights report showing test metrics and statistics.nofalse
slowest-reportInclude a report showing the top 10 slowest tests by average duration.nofalse
pull-request-reportInclude the pull request report.nofalse
commit-reportInclude the commit report.nofalse
custom-reportInclude a custom report using a Handlebars template. To group tests in the custom report, use the 'group-by' or 'always-group-by' input. nofalse
community-reportInclude the community report. Also requires community-report-name.nofalse
summaryPost generated markdown to the GitHub Actions summary.notrue
pull-requestAdd a comment to the pull request with the generated report.nofalse
issueAdd a comment to the issue number with the generated report.no""
annotateAdd annotations to failed tests in the GitHub Actions UI.notrue
status-checkCreate a status check for the workflow.nofalse
status-check-nameName of the status check.noGitHub Test Reporter Results
community-report-nameName of the community report to use.nosummary-short
on-fail-onlyAdd a pull request comment only if tests fail.nofalse
exit-on-no-filesExit the workflow with a failure status if no test files are found.nofalse
exit-on-failExit the workflow with a failure status if any tests fail.nofalse
exit-on-emptyExit the workflow with a failure status if no tests are found.nofalse
use-suite-namePrefix test names with the suite name for better grouping.nofalse
update-commentUpdate existing Pull Request comment.nofalse
overwrite-commentOverwrite existing Pull Request comment.nofalse
always-latest-commentCreate a new comment if the existing comment is not the latest in the thread.nofalse
comment-tagTag to match Pull Request commentnofalse
write-ctrf-to-filePath to write the processed CTRF report for future processing.""
upload-artifactUpload the processed CTRF report for future processingnofalse
collapse-large-reportsCollapse large reports (test-table and test-list) by default.nofalse
artifact-nameName of the artifact containing test reports.noctrf-report
previous-results-maxMaximum number of previous test results to display in the report. Includes test results from current runno10
fetch-previous-resultsAlways fetch previous workflow runs when using custom templates.nofalse
max-workflow-runs-to-checkMaximum number of workflow runs to check for previous results.no400
max-previous-runs-to-fetchMaximum number of previous runs to fetch and process for metrics and reports.no100
baselineBaseline for metrics comparison. Number = previous n reports, string = reportId.no1
baseline-report-pathPath to a specific CTRF report to use as a baseline.no""
group-bySpecify grouping for applicable reports (e.g., suite or file path). Options: - 'suite': Group tests by their suite property. - 'filePath': Group tests by their file path. Default is 'filePath'. Use this for built-in or custom reports where grouping is needed. nofilePath
always-group-byForce grouping by suite or file path for all reports, overriding default behaviornofalse
report-orderComma-separated list of report types to specify the order in which reports should be displayed in the summary. no""
aiJSON configuration for AI-powered test analysis. Supports multiple AI providers including OpenAI, Claude, Gemini, Grok, Deepseek, Mistral, Perplexity, Azure OpenAI, OpenRouter, and AWS Bedrock. Example: '{"provider": "openai", "model": "gpt-4", "temperature": 0.7, "maxTokens": 2000}' no{}
integrations-configJSON configuration for integrations with other developer toolsno{}
namedescription
summaryThe markdown summary generated
reportThe report json