v1.0.0
@flakiness/junit-xml v1.0.0
The first stable release of @flakiness/junit-xml — a small, dependency-light
CLI that converts JUnit XML test reports into a Flakiness
report and uploads it automatically.
npx @flakiness/junit-xml --flakiness-project myorg/myproject ./build/reports/junitHighlights
- Works with the JUnit XML you already produce. Tested against real output
from Surefire, JUnit 5, TestNG,bun test, and Rust'scargo-nextest. - Auto-upload, zero-config in CI. Authenticates via an access token or
GitHub Actions OIDC — no token to manage when your project is bound to the
repository. - Ships as both NPM package and self-contained executable
Install
npx (no install step):
npx @flakiness/junit-xml --flakiness-project myorg/myproject ./path/to/junitStandalone binary (bundles its own runtime):
# macOS / Linux
curl -fsSL https://github.com/flakiness/junit-xml/releases/latest/download/install.sh | sh
# Windows (PowerShell)
irm https://github.com/flakiness/junit-xml/releases/latest/download/install.ps1 | iexPrebuilt binaries are published for Windows x64, Linux x64/arm64 (glibc and
musl/Alpine), and macOS arm64/x64.
Examples
# Bun
bun test --reporter=junit --reporter-outfile=./junit.xml
npx @flakiness/junit-xml --category bun --flakiness-project myorg/myproject ./junit.xml
# Rust (cargo-nextest, with [profile.ci.junit] in .config/nextest.toml)
cargo nextest run --profile ci
npx @flakiness/junit-xml --category rust --flakiness-project myorg/myproject ./target/nextest/ci/junit.xmlFull usage and authentication details are in the
README.