Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,16 @@ on:
description: Whether to publish the documentation using MkDocs and GitHub Pages.
required: false
default: true
VerbosePreference:
type: string
description: "The preference for verbose output. Allowed values: 'SilentlyContinue', 'Stop', 'Continue', 'Inquire', 'Break', 'Ignore','Suspend'."
required: false
default: 'SilentlyContinue'
DebugPreference:
type: string
description: "The preference for debug output. Allowed values: 'SilentlyContinue', 'Stop', 'Continue', 'Inquire', 'Break', 'Ignore','Suspend'."
required: false
default: 'SilentlyContinue'

env:
GITHUB_TOKEN: ${{ github.token }} # Used for GitHub CLI authentication
Expand Down Expand Up @@ -97,6 +107,8 @@ jobs:
Name: ${{ inputs.Name }}
Path: ${{ inputs.Path }}
TestType: SourceCode
VerbosePreference: ${{ inputs.VerbosePreference }}
DebugPreference: ${{ inputs.DebugPreference }}

TestSourceCode-pwsh-macos-latest:
name: Test source code (pwsh, macos-latest)
Expand All @@ -121,6 +133,8 @@ jobs:
Name: ${{ inputs.Name }}
Path: ${{ inputs.Path }}
TestType: SourceCode
VerbosePreference: ${{ inputs.VerbosePreference }}
DebugPreference: ${{ inputs.DebugPreference }}

TestSourceCode-pwsh-windows-latest:
name: Test source code (pwsh, windows-latest)
Expand All @@ -145,6 +159,8 @@ jobs:
Name: ${{ inputs.Name }}
Path: ${{ inputs.Path }}
TestType: SourceCode
VerbosePreference: ${{ inputs.VerbosePreference }}
DebugPreference: ${{ inputs.DebugPreference }}

BuildModule:
name: Build module
Expand Down Expand Up @@ -205,6 +221,8 @@ jobs:
Name: ${{ inputs.Name }}
Path: ${{ inputs.ModulesOutputPath }}
TestType: Module
VerbosePreference: ${{ inputs.VerbosePreference }}
DebugPreference: ${{ inputs.DebugPreference }}

- name: Status
shell: pwsh
Expand Down Expand Up @@ -247,6 +265,8 @@ jobs:
Name: ${{ inputs.Name }}
Path: ${{ inputs.ModulesOutputPath }}
TestType: Module
VerbosePreference: ${{ inputs.VerbosePreference }}
DebugPreference: ${{ inputs.DebugPreference }}

- name: Status
shell: pwsh
Expand Down Expand Up @@ -289,6 +309,8 @@ jobs:
Name: ${{ inputs.Name }}
Path: ${{ inputs.ModulesOutputPath }}
TestType: Module
VerbosePreference: ${{ inputs.VerbosePreference }}
DebugPreference: ${{ inputs.DebugPreference }}

- name: Status
shell: pwsh
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,16 @@ on:
description: Whether to publish the documentation using MkDocs and GitHub Pages.
required: false
default: true
VerbosePreference:
type: string
description: "The preference for verbose output. Allowed values: 'SilentlyContinue', 'Stop', 'Continue', 'Inquire', 'Break', 'Ignore','Suspend'."
required: false
default: 'SilentlyContinue'
DebugPreference:
type: string
description: "The preference for debug output. Allowed values: 'SilentlyContinue', 'Stop', 'Continue', 'Inquire', 'Break', 'Ignore','Suspend'."
required: false
default: 'SilentlyContinue'

env:
GITHUB_TOKEN: ${{ github.token }} # Used for GitHub CLI authentication
Expand Down Expand Up @@ -104,6 +114,8 @@ jobs:
Name: ${{ inputs.Name }}
Path: ${{ inputs.Path }}
TestType: SourceCode
VerbosePreference: ${{ inputs.VerbosePreference }}
DebugPreference: ${{ inputs.DebugPreference }}

TestSourceCode-pwsh-macos-latest:
name: Test source code (pwsh, macos-latest)
Expand All @@ -128,6 +140,8 @@ jobs:
Name: ${{ inputs.Name }}
Path: ${{ inputs.Path }}
TestType: SourceCode
VerbosePreference: ${{ inputs.VerbosePreference }}
DebugPreference: ${{ inputs.DebugPreference }}

TestSourceCode-pwsh-windows-latest:
name: Test source code (pwsh, windows-latest)
Expand All @@ -152,6 +166,8 @@ jobs:
Name: ${{ inputs.Name }}
Path: ${{ inputs.Path }}
TestType: SourceCode
VerbosePreference: ${{ inputs.VerbosePreference }}
DebugPreference: ${{ inputs.DebugPreference }}

BuildModule:
name: Build module
Expand Down Expand Up @@ -212,6 +228,8 @@ jobs:
Name: ${{ inputs.Name }}
Path: ${{ inputs.ModulesOutputPath }}
TestType: Module
VerbosePreference: ${{ inputs.VerbosePreference }}
DebugPreference: ${{ inputs.DebugPreference }}

- name: Status
shell: pwsh
Expand Down Expand Up @@ -254,6 +272,8 @@ jobs:
Name: ${{ inputs.Name }}
Path: ${{ inputs.ModulesOutputPath }}
TestType: Module
VerbosePreference: ${{ inputs.VerbosePreference }}
DebugPreference: ${{ inputs.DebugPreference }}

- name: Status
shell: pwsh
Expand Down Expand Up @@ -296,6 +316,8 @@ jobs:
Name: ${{ inputs.Name }}
Path: ${{ inputs.ModulesOutputPath }}
TestType: Module
VerbosePreference: ${{ inputs.VerbosePreference }}
DebugPreference: ${{ inputs.DebugPreference }}

- name: Status
shell: pwsh
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,12 @@ jobs:
| `DocsOutputPath` | `string` | The path to the output directory for the documentation. | `false` | `outputs/docs` |
| `PublishDocs` | `boolean` | Whether to publish the documentation using MkDocs and GitHub Pages. | `false` | `true` |
| `SiteOutputPath` | `string` | The path to the output directory for the site. | `false` | `outputs/site` |
| `SkipTests` | `string` | Defines what types of tests to skip. Allowed values are 'All', 'SourceCode', 'Module', 'None', 'macOS', 'Windows', 'Linux'. | false | `None` |
| `TestProcess` | `boolean` | Whether to test the process. | false | `false` |
| `Version` | `string` | The version of the 'GitHub' module to use. Defaults to latest version. | false | N/A |
| `Prerelease` | `boolean` | Whether to use a prerelease version of the 'GitHub' module. | false | `false` |
| `SkipTests` | `string` | Defines what types of tests to skip. Allowed values are 'All', 'SourceCode', 'Module', 'None', 'macOS', 'Windows', 'Linux'. | `false` | `None` |
| `TestProcess` | `boolean` | Whether to test the process. | `false` | `false` |
| `Version` | `string` | The version of the 'GitHub' module to use. Defaults to latest version. | `false` | N/A |
| `Prerelease` | `boolean` | Whether to use a prerelease version of the 'GitHub' module. | `false` | `false` |
| `VerbosePreference` | `string` | The preference for verbose output. Allowed values: 'SilentlyContinue', 'Stop', 'Continue', 'Inquire', 'Break', 'Ignore','Suspend'. | `false` | `SilentlyContinue` |
| `DebugPreference` | `string` | The preference for debug output. Allowed values: 'SilentlyContinue', 'Stop', 'Continue', 'Inquire', 'Break', 'Ignore','Suspend'. | `false` | `SilentlyContinue` |

### Secrets

Expand Down