jhl-labs/Test CLI Action

Run standardized tests and coverage with test-cli, publish results as annotations and a job summary, and expose machine-readable outputs for AI agents.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 14, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: jhl-labs/test-cli-action@b9a626cabe550ec6af2f074b1232934b2e555d8d # no releases — HEAD as of 2026-07-11

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

namedescriptionrequireddefault
tokenGitHub token used by checkout and binary installation.no${{ github.token }}
checkoutWhether this action should checkout the repository before running.notrue
repositoryRepository to checkout.no${{ github.repository }}
refGit ref to checkout.no${{ github.ref }}
fetch-depthCheckout fetch depth.no1
versiontest-cli version to install, such as v0.1.0. Use latest for the newest release.nolatest
commandtest-cli command to run (run, ingest, report).norun
targetPath or target passed to test-cli.no.
profiletest-cli profile (default | ci | release).noci
languagesComma-separated languages to restrict to (empty = autodetect).no""
output-dirDirectory where test-cli writes reports.noreports/test
formatsComma-separated test-cli output formats.nostdout,json,junit,cobertura,markdown,html
fail-underFail when total line coverage is below this percentage (0 disables).no0
annotation-limitMaximum number of GitHub Actions annotations to emit for failing tests.no100
job-summaryWrite a Markdown summary to the GitHub Actions job summary.notrue
fail-on-test-failureReturn the test-cli exit code so the job fails on test failures or coverage gate.notrue
extra-argsExtra arguments appended to the test-cli command.no""
namedescription
exit-codetest-cli exit code.
tests-totalTotal number of tests executed.
tests-failedNumber of failing tests (failures + errors).
coverage-pctTotal line coverage percentage.
passedtrue when all tests passed and the coverage gate was satisfied.
report-dirDirectory containing the generated reports.