Skip to main content

junit

The junit step ingests JUnit XML from a test runner, writes a CI step summary, and emits inline annotations for test failures when the CI provider supports them.

steps:
- name: publish test results
type: junit
title: Terraform tests
files:
- .artifacts/junit/*.xml
action: all

Fields

FieldDescription
filesRequired list of JUnit XML paths or glob patterns.
actionall (default), summary, or annotate.
titleOptional CI summary title; defaults to Test results.

The step fails when no files match or a matched document is not valid JUnit XML. It remains useful outside CI because it prints a concise local test summary.