📖 [Docs]: Module-local workflow phases documented as root-only#100
Merged
Marius Storhaug (MariusStorhaug) merged 1 commit intoJul 26, 2026
Merged
Conversation
Copilot started reviewing on behalf of
Marius Storhaug (MariusStorhaug)
July 26, 2026 07:08
View session
There was a problem hiding this comment.
Pull request overview
Updates the Process-PSModule pipeline documentation to clearly distinguish root-only workflow phase scripts (tests/BeforeAll.ps1 / tests/AfterAll.ps1) from recursively discovered module-local tests under tests/, aligning the docs with the current workflow detection behavior.
Changes:
- Documented
tests/BeforeAll.ps1andtests/AfterAll.ps1as exact, repository-root-only (non-recursive) workflow phase paths. - Clarified that nested
BeforeAll.ps1/AfterAll.ps1files undertests/do not create workflow phases.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Marius Storhaug (MariusStorhaug)
force-pushed
the
clarify-test-workflow-phases
branch
from
July 26, 2026 07:12
fd551d3 to
e2aef83
Compare
Copilot started reviewing on behalf of
Marius Storhaug (MariusStorhaug)
July 26, 2026 07:15
View session
Marius Storhaug (MariusStorhaug)
marked this pull request as ready for review
July 26, 2026 07:18
Marius Storhaug (MariusStorhaug)
enabled auto-merge (squash)
July 26, 2026 07:18
Marius Storhaug (MariusStorhaug)
disabled auto-merge
July 26, 2026 07:46
Marius Storhaug (MariusStorhaug)
deleted the
clarify-test-workflow-phases
branch
July 26, 2026 07:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Module authors can now distinguish the two root-only workflow phase scripts from recursively discovered module-local test entries.
Fixed: Setup and teardown discovery is unambiguous
tests/BeforeAll.ps1andtests/AfterAll.ps1are documented as exact, non-recursive paths that run once around the module-local test matrix. Ordinary Advanced test entries remain separately eligible for recursive discovery undertests/.Technical details
src/docs/Frameworks/Process-PSModule/pipeline-stages.mdto match the exactTest-Pathchecks in Process-PSModule main.Relevant issues (or links)