Skip to content

Stabilize PowerShell CI against Pester drift - #7

Merged
Frank-Reichenbach merged 1 commit into
masterfrom
fix/ci-pester-drift
Aug 29, 2026
Merged

Frank-Reichenbach merged 1 commit into
masterfrom
fix/ci-pester-drift

Conversation

@Frank-Reichenbach

@Frank-Reichenbach Frank-Reichenbach commented Aug 29, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • replace legacy Assert-MockCalled assertions with Should -Invoke
  • pin the CI Pester version to 6.1.0 so GitHub Actions does not drift over time
  • document the pinned test dependency in CONTRIBUTING.md

Why

The master CI failure on August 29, 2026 was caused by workflow-time dependency drift rather than by the actions/checkout@v7 PR itself. The Windows tests had started installing Pester 6, while two tests still relied on legacy mock assertions that this PR updates to the supported Should -Invoke form.

Verification

  • local PowerShell static + unit tests passed
  • local bash static + validation + unit tests passed
  • explicit Pester 6.1.0 PowerShell static + unit tests passed
  • explicit Pester 6.1.0 integration tests passed

Replace deprecated mock assertions with the supported Should -Invoke form and pin the CI Pester version so GitHub Actions does not silently pick up breaking major-version changes.
@Frank-Reichenbach
Frank-Reichenbach merged commit cbbee07 into master Aug 29, 2026
3 checks passed
@Frank-Reichenbach
Frank-Reichenbach deleted the fix/ci-pester-drift branch August 29, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant