Commit 769af98
authored
⚙️ [Maintenance]: Adopt Process-PSModule v6.1.4 and require Pester 6.x in tests (#44)
This module now runs on the latest Process-PSModule automation (v6.1.4)
and pins its test suite to Pester 6, so continuous integration uses the
current build, test, and publish pipeline and the tests fail fast if
Pester 6 is ever missing.
## Changed: CI runs on Process-PSModule v6.1.4
The reusable workflow pin moves to v6.1.4 from the module's previously
pinned v5 release, adopting the current pipeline, including the Pester 6
test runner and the consolidated `TestData` secret model. No caller
changes are required — the existing `secrets` wiring keeps passing
everything the pipeline needs.
## Changed: Tests require Pester 6.x
Every test file now declares the Pester 6 requirement, so the suite
always resolves Pester 6 and fails with a clear message if only an older
Pester is available, instead of silently running on it.
## Technical Details
- `.github/workflows/Process-PSModule.yml`: pin bumped to
`workflow.yml@da180bac16b13bfbcdf08b2e4e221b5b49e5ff28 # v6.1.4`.
- `tests/*.Tests.ps1`: added `#Requires -Modules @{ ModuleName =
'Pester'; ModuleVersion = '6.0.0'; MaximumVersion = '6.*' }`.
- Classic `Should` assertions are left unchanged. Pester 6 is
backward-compatible, so converting to the new `Should-*` syntax is
intentionally out of scope for this maintenance change.
- Supersedes any stale Dependabot bump of the Process-PSModule pin.1 parent c32b18d commit 769af98
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments