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
{{ message }}
Repository navigation
Commit 11e54fa
Browse filesBrowse the repository at this point in the historyBrowse files
|`SourceCodeTestSuites`| JSON array specifying OS names for Source Code test suites. Example: `[{"OSName": "Windows"}]`| Yes ||
19
-
|`PSModuleTestSuites`| JSON array specifying OS names for PSModule test suites. Example: `[{"OSName": "Linux"}]`| Yes ||
20
-
|`ModuleTestSuites`| JSON array specifying TestName and OSName for Module test suites. Example: `[{"TestName": "Integration", "OSName": "MacOS"}]`| Yes ||
19
+
|`SourceCodeTestSuites`| JSON array that specifies OS names for Source Code test suites. Example: `[{"OSName": "Windows"}]`| Yes ||
20
+
|`PSModuleTestSuites`| JSON array that specifies OS names for PSModule test suites. Example: `[{"OSName": "Linux"}]`| Yes ||
21
+
|`ModuleTestSuites`| JSON array that specifies TestName and OSName for Module test suites. Example: `[{"TestName": "Integration", "OSName": "MacOS"}]`| Yes ||
21
22
|`BeforeAllModuleLocalResult`| Workflow result for the `BeforeAll-ModuleLocal` job (`success`, `failure`, `skipped`). | No |`skipped`|
22
23
|`Debug`| Enable debug output (`true`/`false`). | No |`false`|
23
24
|`Verbose`| Enable verbose output (`true`/`false`). | No |`false`|
24
-
|`Version`| Exact version of the GitHub module to install (e.g., `1.0.0`). | No | Latest |
25
-
|`Prerelease`| Allow installing prerelease module versions (`true`/`false`). | No |`false`|
25
+
|`Version`| Exact version of the GitHub module to install (for example, `1.0.0`). | No | Latest |
26
+
|`Prerelease`| Allow prerelease module versions (`true`/`false`). | No |`false`|
26
27
|`WorkingDirectory`| Working directory for the script. | No |`.`|
27
28
28
29
### Secrets
29
30
30
-
No secrets are required if the action runs in the same repository. The action uses the default `GITHUB_TOKEN` provided by GitHub Actions to access workflow artifacts.
31
+
For runs in the same repository, the action needs no additional secrets.
32
+
The action uses the default `GITHUB_TOKEN` from GitHub Actions to access workflow artifacts.
31
33
32
34
### Outputs
33
35
34
-
This action does not define explicit outputs. Instead:
36
+
The action defines no explicit outputs.
35
37
36
-
- If any tests fail or errors occur, the action exits with a non-zero code, marking the workflow step as failed.
37
-
-Detailed results are logged in the workflow run's output.
38
+
- If tests fail or errors occur, the action exits with a nonzero code. GitHub Actions marks the workflow step as failed.
39
+
-The action writes detailed results to the workflow run log.
38
40
39
41
### Example
40
42
@@ -48,9 +50,9 @@ This action does not define explicit outputs. Instead:
48
50
```
49
51
50
52
### Notes
51
-
- **Test Suite Inputs**: Must be valid JSON arrays.
53
+
- **Test suite inputs**: The test suite inputs must be valid JSON arrays.
52
54
- `SourceCodeTestSuites` and `PSModuleTestSuites` require `OSName`.
53
55
- `ModuleTestSuites`requires both `TestName` and `OSName`.
54
-
- **BeforeAll module-local failures**: When `BeforeAllModuleLocalResult` is `failure`, the action exits immediately and reports the setup failure as the root cause.
55
-
- **Artifact Names**: The action expects artifacts named `*-TestResults` containing Pester JSON reports.
56
-
- **Failure Conditions**: The action fails if tests are unexecuted, explicitly failed, or if result files are missing.
56
+
- **BeforeAll module-local failures**: If `BeforeAllModuleLocalResult` is `failure`, the action exits immediately and reports the setup failure as the root cause.
57
+
- **Artifact names**: The action expects artifacts named `*-TestResults` with Pester JSON reports.
58
+
- **Failure conditions**: The action fails if tests do not run, tests fail, or result files are missing.
0 commit comments