lfreleng-actions/🧪 JUnit Test Report

Summarise JUnit XML test results in the job summary with counts and an uploaded report artefact

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
report-pathsGlobs matching JUnit XML report files (whitespace or newline separated)no**/target/surefire-reports/*.xml **/target/failsafe-reports/*.xml **/build/test-results/**/*.xml
summaryWrite a results table to the job summarynotrue
artifact-uploadUpload the matched report files as a workflow artefactnotrue
artifact-nameName for the uploaded artefact (defaults to junit-test-reports-<job>)no""
fail-on-failureExit with a non-zero status when the results contain failures or errorsnofalse
namedescription
totalTotal number of tests across all report files
passedNumber of tests that passed
failuresNumber of failed tests
errorsNumber of tests that errored
skippedNumber of skipped tests
timeTotal test execution time in seconds
report_countNumber of JUnit XML report files parsed
resultOverall result: 'success', 'failure', or 'none' (no reports found)
artifact_nameName of the uploaded report artefact (empty when not uploaded)