trunk-io/Trunk Analytics Uploader

Uploads test results to trunk.io

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
junit-pathsComma-separated list of glob paths to junit files.no
org-slugOrganization slug.yes
tokenOrganization token. Defaults to TRUNK_API_TOKEN env var.no
public-repo-idNon-secret per-repo identifier. Use instead of token on fork PRs where repo secrets are unavailable. Defaults to TRUNK_PUBLIC_REPO_ID env var.no
repo-head-branchValue to override branch of repository head.no
runThe command to run before uploading test results.no
repo-rootThe root directory of the repository.no
cli-versionThe version of the uploader to use.nolatest
xcresult-pathPath to the xcresult directory.no
bazel-bep-pathPath to the bazel BEP file to parse in place of junits.no
use-bazel-target-for-codeownersUse the Bazel target label as a fallback path for CODEOWNERS association when no file attribute is present in the JUnit XML.nofalse
quarantineWhether or not to allow quarantining of failing tests.no
allow-missing-junit-filesWhether or not to allow missing junit files in the upload invocation.notrue
hide-bannerWhether to hide the top level flaky tests bannerno
variantUser specified variant of a set of tests being uploaded.no
test-collection-idOptional 8 character alphanumeric ID for a test collection.no
verboseEnable verbose loggingnofalse
use-uncloned-repoSet to 'true' if your tests do not require cloning the repository under test,nofalse
previous-step-outcomeThe outcome of the previous step in the workflow. Set this equal to steps.[id].outcome where `[id]` is the id of the corresponding test run.no
github-tokenThe GitHub token used to create an authenticated client${{ github.token }}
pr-titleThe Title of the Pull Request (if being run inside one)${{ github.event.pull_request.title }}
gh-repo-urlThe URL of the GitHub repo${{ github.event.pull_request.head.repo.html_url }}
gh-repo-head-shaThe head commit of the pull request${{ github.event.pull_request.head.sha }}
gh-repo-head-branchThe head branch of the pull request${{ github.event.pull_request.head.ref }}
gh-repo-head-commit-epochThe commit timestamp${{ github.event.pull_request.updated_at }}
gh-repo-head-author-nameThe actor triggering the action${{ github.actor }}
gh-action-refThe ref of the action being used${{ github.action_ref }}
show-failure-messagesShow failure outputs in upload. This is experimental, do not rely on this.false
dry-runRun without uploading the results to the server. They will instead be dumped to the directory that the action is run in.nofalse
use-cacheEnable caching of the trunk-analytics-cli binary to reduce subsequent downloadsnofalse

no outputs