mikepenz/JUnit Report Action
Report JUnit test results as annotations on Github Pull Request [junit]
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 6, 2026
- License
- Apache 2.0
Pinned Snippet
uses: mikepenz/action-junit-report@d9f48fc87bc235f7e214acf696ca5abc0a986f16 # v6.4.2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| token | Specify the token to use to publish the check. | no | ${{ github.token }} |
| github_token | Deprecated syntax to specify github token. | no | — |
| report_paths | Xml report paths in glob format | no | **/junit-reports/TEST-*.xml |
| group_reports | Defines if reports are grouped into a combined test result. This | no | true |
| test_files_prefix | Prefix to add to test file paths from report files when annotating | no | "" |
| exclude_sources | Comma seperated list of source folders to ignore for lookup | no | — |
| annotate_only | Enable to only annotate the results on the files, will not create a check run. | no | false |
| check_annotations | Defines if the checks will include annotations (This is different than `annotate_only`). | no | true |
| update_check | Defines if the active check should be updated instead | no | false |
| check_name | Check name for test reports. | no | JUnit Test Report |
| commit | Commit SHA to update the check status. | no | — |
| fail_on_failure | Fail the build in case a test failure occurred. | no | false |
| fail_on_parse_error | Fail the build if the test report file can not be parsed. | no | false |
| require_tests | Fail if no test are found. | no | false |
| require_passed_tests | Fail if no passed test are found. | no | false |
| include_passed | Include passed tests in the report | no | false |
| include_skipped | Include skipped tests in the report | no | true |
| check_title_template | Template to configure the title format. Placeholders: {{FILE_NAME}}, {{SUITE_NAME}}, {{TEST_NAME}}, {{CLASS_NAME}}, {{BREAD_CRUMB}}. | no | — |
| bread_crumb_delimiter | Defines the delimiter characters between the breadcrumb elements. Defaults to: `/`. | no | / |
| summary | Additional text to summary output | no | "" |
| check_retries | If a testcase is retried, ignore the original failure. | no | false |
| transformers | Provide a regex pattern and target pattern | no | [] |
| job_summary | Enables the publishing of a JOB_SUMMARY with the report. | no | true |
| job_summary_text | Additional text to include in the job summary prior to the tables | no | "" |
| detailed_summary | Include table with all test results in summary | no | false |
| flaky_summary | Include table with all flaky results in summary | no | false |
| verbose_summary | Include note of missing test annotations in summary. | no | true |
| skip_success_summary | Skips summaries that would not contain failed tests | no | false |
| include_empty_in_summary | Include entries in summaries that have 0 count | no | true |
| include_time_in_summary | Include time in summaries | no | false |
| simplified_summary | Use icons instead of text to indicate status in summary | no | false |
| group_suite | If enabled, will group the testcases by test suite in the `detailed_summary` | no | false |
| comment | Enables a comment being added to the PR with the summary tables (summary has to be enabled). Default: false | no | false |
| updateComment | Enables updating the prior comment if one already exists. Default: true | no | true |
| annotate_notice | Annotate passed tests along with warning and failed ones | no | false |
| follow_symlink | Enables the file globber to follow symlinks. Default: false | no | false |
| job_name | Specify the name of a check to update | no | ${{ github.job }} |
| annotations_limit | Specify the limit for annotations. This will also interrupt parsing all test-suites if the limit is reached. | no | — |
| skip_annotations | Setting this flag will result in no annotations being added to the run. | no | — |
| truncate_stack_traces | Truncate stack traces from test output to 2 lines in annotations | no | true |
| resolve_ignore_classname | Force ignore test case classname from the xml report (This can help fix issues with some tools/languages) | no | false |
| skip_comment_without_tests | Disable commenting if no tests are detected | no | false |
| pr_id | PR number to comment on (useful for workflow_run contexts) | no | — |
Outputs
| name | description |
|---|---|
| total | The total count of all checks |
| passed | The count of all passed tests |
| skipped | The count of all skipped tests |
| failed | The count of all failed tests |
| time | The total time taken for all the tests |
| summary | The short summary of the junit report. In html format (as also constructed by GitHub for the summary). |
| detailed_summary | The full table with all test results in a summary. In html format (as also constructed by GitHub for the summary). |
| flaky_summary | The full table with all flaky results in a summary. In html format (as also constructed by GitHub for the summary). |
| report_url | The URL(s) to the test report(s). If multiple reports are created, they are separated by newlines. |