trunk-io/Trunk Analytics Uploader
Uploads test results to trunk.io
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| junit-paths | Comma-separated list of glob paths to junit files. | no | — |
| org-slug | Organization slug. | yes | — |
| token | Organization token. Defaults to TRUNK_API_TOKEN env var. | no | — |
| public-repo-id | Non-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-branch | Value to override branch of repository head. | no | — |
| run | The command to run before uploading test results. | no | — |
| repo-root | The root directory of the repository. | no | — |
| cli-version | The version of the uploader to use. | no | latest |
| xcresult-path | Path to the xcresult directory. | no | — |
| bazel-bep-path | Path to the bazel BEP file to parse in place of junits. | no | — |
| use-bazel-target-for-codeowners | Use the Bazel target label as a fallback path for CODEOWNERS association when no file attribute is present in the JUnit XML. | no | false |
| quarantine | Whether or not to allow quarantining of failing tests. | no | — |
| allow-missing-junit-files | Whether or not to allow missing junit files in the upload invocation. | no | true |
| hide-banner | Whether to hide the top level flaky tests banner | no | — |
| variant | User specified variant of a set of tests being uploaded. | no | — |
| test-collection-id | Optional 8 character alphanumeric ID for a test collection. | no | — |
| verbose | Enable verbose logging | no | false |
| use-uncloned-repo | Set to 'true' if your tests do not require cloning the repository under test, | no | false |
| previous-step-outcome | The 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-token | The GitHub token used to create an authenticated client | — | ${{ github.token }} |
| pr-title | The Title of the Pull Request (if being run inside one) | — | ${{ github.event.pull_request.title }} |
| gh-repo-url | The URL of the GitHub repo | — | ${{ github.event.pull_request.head.repo.html_url }} |
| gh-repo-head-sha | The head commit of the pull request | — | ${{ github.event.pull_request.head.sha }} |
| gh-repo-head-branch | The head branch of the pull request | — | ${{ github.event.pull_request.head.ref }} |
| gh-repo-head-commit-epoch | The commit timestamp | — | ${{ github.event.pull_request.updated_at }} |
| gh-repo-head-author-name | The actor triggering the action | — | ${{ github.actor }} |
| gh-action-ref | The ref of the action being used | — | ${{ github.action_ref }} |
| show-failure-messages | Show failure outputs in upload. This is experimental, do not rely on this. | — | false |
| dry-run | Run without uploading the results to the server. They will instead be dumped to the directory that the action is run in. | no | false |
| use-cache | Enable caching of the trunk-analytics-cli binary to reduce subsequent downloads | no | false |
Outputs
no outputs