You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -50,7 +72,7 @@ and  (e.g. `runs-on: windows-latest`) runners:
50
72
test-results/**/*.json
51
73
```
52
74
53
-
See the [notes on running this action as a composite action](#running-as-a-composite-action) if you run it on Windows or macOS.
75
+
See the [notes on running this action as a non-Docker action](#running-as-a-non-docker-action).
54
76
55
77
If you see the `"Resource not accessible by integration"` error, you have to grant additional [permissions](#permissions), or
56
78
[setup the support for pull requests from fork repositories and branches created by Dependabot](#support-fork-repositories-and-dependabot-branches).
@@ -273,7 +295,7 @@ The list of most notable options:
273
295
274
296
|Option|Default Value|Description|
275
297
|:-----|:-----:|:----------|
276
-
|`files`|_no default_|File patterns of test result files. Relative paths are known to work best, while the composite action [also works with absolute paths](#running-with-absolute-paths). Supports `*`, `**`, `?`, and `[]` character ranges. Use multiline string for multiple patterns. Patterns starting with `!` exclude the matching files. There have to be at least one pattern starting without a `!`.|
298
+
|`files`|_no default_|File patterns of test result files. Relative paths are known to work best, while the non-Docker action [also works with absolute paths](#running-with-absolute-paths). Supports `*`, `**`, `?`, and `[]` character ranges. Use multiline string for multiple patterns. Patterns starting with `!` exclude the matching files. There have to be at least one pattern starting without a `!`.|
277
299
|`check_name`|`"Test Results"`|An alternative name for the check result. Required to be unique for each instance in one workflow.|
278
300
|`comment_title`|same as `check_name`|An alternative name for the pull request comment.|
279
301
|`comment_mode`|`always`|The action posts comments to pull requests that are associated with the commit. Set to:<br/>`always` - always comment<br/>`changes` - comment when changes w.r.t. the target branch exist<br/>`changes in failures` - when changes in the number of failures and errors exist<br/>`changes in errors` - when changes in the number of (only) errors exist<br/>`failures` - when failures or errors exist<br/>`errors` - when (only) errors exist<br/>`off` - to not create pull request comments.|
@@ -783,10 +805,14 @@ You can then use the badge via this URL: https://gist.githubusercontent.com/{use
783
805
## Running with absolute paths
784
806
785
807
It is known that this action works best with relative paths (e.g. `test-results/**/*.xml`),
786
-
but most absolute paths (e.g. `/tmp/test-results/**/*.xml`) require to use the composite variant
787
-
of this action (`uses: EnricoMi/publish-unit-test-result-action/composite@v2`).
808
+
but most absolute paths (e.g. `/tmp/test-results/**/*.xml`) require to use the non-Docker variant
809
+
of this action:
788
810
789
-
If you have to use absolute paths with the non-composite variant of this action (`uses: EnricoMi/publish-unit-test-result-action@v2`),
Copy file name to clipboardExpand all lines: action.yml
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ inputs:
42
42
default: 'false'
43
43
required: false
44
44
files:
45
-
description: 'File patterns of test result files. Relative paths are known to work best, while the composite action also works with absolute paths. Supports "*", "**", "?", and "[]" character ranges. Use multiline string for multiple patterns. Patterns starting with "!" exclude the matching files. There have to be at least one pattern starting without a "!".'
45
+
description: 'File patterns of test result files. Relative paths are known to work best, while the non-Docker action also works with absolute paths. Supports "*", "**", "?", and "[]" character ranges. Use multiline string for multiple patterns. Patterns starting with "!" exclude the matching files. There have to be at least one pattern starting without a "!".'
46
46
required: false
47
47
junit_files:
48
48
description: 'Deprecated, use "files" option instead.'
@@ -142,6 +142,7 @@ inputs:
142
142
description: 'Prior to v2.6.0, the action used the "/search/issues" REST API to find pull requests related to a commit. If you need to restore that behaviour, set this to "true". Defaults to "false".'
0 commit comments