Skip to content
Draft
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
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ packages. Each is versioned independently, and the main workflow pins versions e
| PowerShell Gallery API | Publishes module packages. |
| GitHub Pages | Hosts the documentation site. |

For the full dependency tree, including diagrams and a reference of every transitive dependency, see
[DEPENDENCIES.md](https://github.com/PSModule/Process-PSModule/blob/main/DEPENDENCIES.md).
The composition itself is the reference: see the
[reusable workflows](https://github.com/PSModule/Process-PSModule/tree/main/.github/workflows) and the
[actions they call](https://github.com/PSModule/Process-PSModule/tree/main/.github/actions).
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ source-code test has an ID that can be used to
## Source-code tests

Run by the [Test source code](pipeline-stages.md#test-source-code) job against files in `src/`. Implemented in
[PSModule - SourceCode tests](https://github.com/PSModule/Process-PSModule/blob/main/scripts/tests/SourceCode/PSModule/PSModule.Tests.ps1).
[PSModule - SourceCode tests](https://github.com/PSModule/Process-PSModule/blob/main/.github/actions/Test-PSModule/src/tests/SourceCode/PSModule/PSModule.Tests.ps1).

| ID | Category | Description | Example skip comment |
| ---- | ---------- | ------------- | ---------------------- |
Expand All @@ -31,7 +31,7 @@ Run by the [Test source code](pipeline-stages.md#test-source-code) job against f

Run by the [Framework test](pipeline-stages.md#framework-test) job against the compiled module in
`outputs/module`. Implemented in
[PSModule - Module tests](https://github.com/PSModule/Process-PSModule/blob/main/scripts/tests/Module/PSModule/PSModule.Tests.ps1).
[PSModule - Module tests](https://github.com/PSModule/Process-PSModule/blob/main/.github/actions/Test-PSModule/src/tests/Module/PSModule/PSModule.Tests.ps1).

| Name | Description |
| ---- | ----------- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ suite matrices are computed under each owning test phase, and resolved version m
[workflow](https://github.com/PSModule/Process-PSModule/blob/main/.github/workflows/Test-SourceCode.yml)

- Tests the source code in parallel (matrix) using:
- [PSModule framework settings for style and standards for source code](https://github.com/PSModule/Test-PSModule?tab=readme-ov-file#sourcecode-tests)
- [PSModule framework settings for style and standards for source code](https://github.com/PSModule/Process-PSModule/tree/main/.github/actions/Test-PSModule/src/tests/SourceCode)
- This produces a JSON-based report that is used by [Get-PesterTestResults](#get-test-results) evaluate the results of the tests.

For the coding practices this step enforces, see [framework test IDs](framework-test-ids.md#source-code-tests).
Expand All @@ -82,7 +82,7 @@ For the coding practices this step enforces, see [framework test IDs](framework-
[workflow](https://github.com/PSModule/Process-PSModule/blob/main/.github/workflows/Test-Module.yml)

- Tests and lints the module in parallel (matrix) using:
- [PSModule framework settings for style and standards for modules](https://github.com/PSModule/Test-PSModule?tab=readme-ov-file#module-tests)
- [PSModule framework settings for style and standards for modules](https://github.com/PSModule/Process-PSModule/tree/main/.github/actions/Test-PSModule/src/tests/Module)
- [PSScriptAnalyzer rules](https://github.com/PSModule/Invoke-ScriptAnalyzer)
- This produces a JSON-based report that is used by [Get-PesterTestResults](#get-test-results) evaluate the results of the tests.
- **Code coverage for framework-generated code**: This step collects code coverage for framework-generated
Expand Down Expand Up @@ -157,4 +157,4 @@ How to write these tests, including the Pester version requirement and shared-in

## Publish Docs

[workflow](https://github.com/PSModule/Process-PSModule/blob/main/.github/workflows/Publish-Docs.yml)
[workflow](https://github.com/PSModule/Process-PSModule/blob/main/.github/workflows/Publish-Site.yml)