31
31
uses : trunk-io/analytics-uploader@main
32
32
with :
33
33
# Path to your test results.
34
- junit-paths : target/path/**/*_test.xml
34
+ junit-paths : " target/path/**/*_test.xml"
35
35
# Provide your Trunk organization url slug.
36
36
# To find your org slug, log into app.trunk.io and you should be redirected to a URL like:
37
37
# https://app.trunk.io/my-trunk-org-slug/repo-owner/repo-name/ci-analytics
@@ -43,18 +43,33 @@ jobs:
43
43
continue-on-error : true
44
44
` ` `
45
45
46
- ### Inputs
47
-
48
- | Parameter | Description |
49
- | ------------------ | ------------------------------------------------------------------------ |
50
- | ` junit-paths` | **Required.** Comma-separated list of glob paths to junit files. |
51
- | `org-slug` | **Required.** Organization slug. |
52
- | `token` | **Optional.** Organization token. Defaults to `TRUNK_API_TOKEN` env var. |
53
- | `repo-head-branch` | **Optional.** Branch of repository head. |
54
- | `repo-root` | **Optional.** Root directory of the repository. |
55
- | `team` | **Optional.** Team that owns the upload. |
56
- | `run` | **Optional.** Command to run before uploading test results. |
57
- | `cli-version` | **Optional.** Version of the uploader to use. |
46
+ ## Arguments
47
+
48
+ ### Input Sources (At least one required)
49
+
50
+ | Parameter | Description |
51
+ | ---------------- | ------------------------------------------------------- |
52
+ | ` junit-paths` | Comma-separated list of glob paths to junit files. |
53
+ | `xcresult-path` | Path to the xcresult directory. |
54
+ | `bazel-bep-path` | Path to the bazel BEP file to parse in place of junits. |
55
+
56
+ # ## Required Parameters
57
+
58
+ | Parameter | Description |
59
+ | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
60
+ | `org-slug` | Organization slug. |
61
+ | `token` | Organization token. Must be explicitly passed in or defined as an environment variable named `TRUNK_API_TOKEN`. Defaults to the `TRUNK_API_TOKEN` when left empty. |
62
+
63
+ # ## Optional Parameters
64
+
65
+ | Parameter | Description | Default |
66
+ | --------------------------- | --------------------------------------------------------------------- | -------- |
67
+ | `repo-head-branch` | Value to override branch of repository head. | |
68
+ | `repo-root` | The root directory of the repository. | |
69
+ | `run` | The command to run before uploading test results. | |
70
+ | `cli-version` | The version of the uploader to use. | `latest` |
71
+ | `quarantine` | Whether or not to allow quarantining of failing tests. | |
72
+ | `allow-missing-junit-files` | Whether or not to allow missing junit files in the upload invocation. | `true` |
58
73
59
74
# # Questions
60
75
0 commit comments