Description
action-junit-report is a GitHub Action that reads JUnit test results and reports them as a check on your pull request. It creates one check run per report, and failures are annotated on the line that failed, so you see them where you review code. It also writes summaries, including job_summary, detailed_summary and flaky_summary, and comment: true posts them on the PR. It parses test reports from other tools in any language, including nested suites, and handles retries through check_retries. Check titles can use a template with placeholders such as BREAD_CRUMB, SUITE_NAME, TEST_NAME and CLASS_NAME. The counts of total, passed, failed, skipped and retried tests, along with a report URL, are exposed as outputs for later steps. Quick start has three steps: add the action after your test step and let it run even when tests fail, give the workflow permission to create checks, and optionally read the outputs. For forks, read-only tokens or workflow_run workflows, the README has a PR run permissions section, and the annotate_only option annotates without creating a check run.…
Highlights
- Creates a PR check for each JUnit report
- Failures annotated on the failing line
- Job and PR summaries with optional comment
- Retries and nested suites supported
- Counts exposed as action outputs
Ratings & Reviews
No ratings yet
Be the first to rate Action Junit Report.
People also visit
Action Junit Report FAQ
What does it do?
It reads JUnit test results and reports them as a GitHub pull request check, with failures annotated on the line that failed.
What permissions does it need?
The workflow needs checks: write so the action can create the check. If you cannot grant that, annotate_only: true annotates without a check run.
Does it work for pull requests from forks?
The README has a PR run permissions section for forks and workflow_run workflows, and annotate_only helps with read-only tokens.
Can I use the results in later steps?
Yes. total, passed, failed, skipped, retried, summary and report_url are action outputs.
Which test reports does it read?
JUnit-style reports from any language, including nested suites and retries.
What are the best Action Junit Report alternatives?
Popular alternatives to Action Junit Report include Lighthouse Check Action. See all Action Junit Report alternatives










