mikepenz/JUnit Report Action

Report JUnit test results as annotations on Github Pull Request [junit]

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 6, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: mikepenz/action-junit-report@d9f48fc87bc235f7e214acf696ca5abc0a986f16 # v6.4.2

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

namedescriptionrequireddefault
tokenSpecify the token to use to publish the check.no${{ github.token }}
github_tokenDeprecated syntax to specify github token.no
report_pathsXml report paths in glob formatno**/junit-reports/TEST-*.xml
group_reportsDefines if reports are grouped into a combined test result. This notrue
test_files_prefixPrefix to add to test file paths from report files when annotatingno""
exclude_sourcesComma seperated list of source folders to ignore for lookupno
annotate_onlyEnable to only annotate the results on the files, will not create a check run.nofalse
check_annotationsDefines if the checks will include annotations (This is different than `annotate_only`).notrue
update_checkDefines if the active check should be updated insteadnofalse
check_nameCheck name for test reports.noJUnit Test Report
commitCommit SHA to update the check status.no
fail_on_failureFail the build in case a test failure occurred.nofalse
fail_on_parse_errorFail the build if the test report file can not be parsed.nofalse
require_testsFail if no test are found.nofalse
require_passed_testsFail if no passed test are found.nofalse
include_passedInclude passed tests in the reportnofalse
include_skippedInclude skipped tests in the reportnotrue
check_title_templateTemplate to configure the title format. Placeholders: {{FILE_NAME}}, {{SUITE_NAME}}, {{TEST_NAME}}, {{CLASS_NAME}}, {{BREAD_CRUMB}}.no
bread_crumb_delimiterDefines the delimiter characters between the breadcrumb elements. Defaults to: `/`.no/
summaryAdditional text to summary outputno""
check_retriesIf a testcase is retried, ignore the original failure.nofalse
transformersProvide a regex pattern and target patternno[]
job_summaryEnables the publishing of a JOB_SUMMARY with the report.notrue
job_summary_textAdditional text to include in the job summary prior to the tablesno""
detailed_summaryInclude table with all test results in summarynofalse
flaky_summaryInclude table with all flaky results in summarynofalse
verbose_summaryInclude note of missing test annotations in summary.notrue
skip_success_summarySkips summaries that would not contain failed testsnofalse
include_empty_in_summaryInclude entries in summaries that have 0 countnotrue
include_time_in_summaryInclude time in summariesnofalse
simplified_summaryUse icons instead of text to indicate status in summarynofalse
group_suiteIf enabled, will group the testcases by test suite in the `detailed_summary`nofalse
commentEnables a comment being added to the PR with the summary tables (summary has to be enabled). Default: falsenofalse
updateCommentEnables updating the prior comment if one already exists. Default: truenotrue
annotate_noticeAnnotate passed tests along with warning and failed onesnofalse
follow_symlinkEnables the file globber to follow symlinks. Default: falsenofalse
job_nameSpecify the name of a check to updateno${{ github.job }}
annotations_limitSpecify the limit for annotations. This will also interrupt parsing all test-suites if the limit is reached.no
skip_annotationsSetting this flag will result in no annotations being added to the run.no
truncate_stack_tracesTruncate stack traces from test output to 2 lines in annotationsnotrue
resolve_ignore_classnameForce ignore test case classname from the xml report (This can help fix issues with some tools/languages)nofalse
skip_comment_without_testsDisable commenting if no tests are detectednofalse
pr_idPR number to comment on (useful for workflow_run contexts)no
namedescription
totalThe total count of all checks
passedThe count of all passed tests
skippedThe count of all skipped tests
failedThe count of all failed tests
timeThe total time taken for all the tests
summaryThe short summary of the junit report. In html format (as also constructed by GitHub for the summary).
detailed_summaryThe full table with all test results in a summary. In html format (as also constructed by GitHub for the summary).
flaky_summaryThe full table with all flaky results in a summary. In html format (as also constructed by GitHub for the summary).
report_urlThe URL(s) to the test report(s). If multiple reports are created, they are separated by newlines.