Skip to content

fix: restore Windows PowerShell 5.1 import compatibility #117

fix: restore Windows PowerShell 5.1 import compatibility

fix: restore Windows PowerShell 5.1 import compatibility #117

Workflow file for this run

name: Test
permissions:
contents: read
checks: write
pull-requests: write
issues: write
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
jobs:
# Delegate to the psake org's shared module CI workflow. It runs the full build/test suite
# (Build + Analyze + Pester) on PowerShell 7+ across Linux/Windows/macOS and on the real
# Windows PowerShell 5.1 (Desktop) engine, so regressions like the 0.8.0 ternary that broke
# module import on 5.1 are caught by the standard test run rather than a separate smoke test.
ci:
name: CI
# TODO: the Windows PowerShell 5.1 (test_powershell) job is added upstream in psake/.github#7.
# Once that merges, consider pinning to a tagged release or commit SHA of psake/.github
# instead of @main.
uses: psake/.github/.github/workflows/ModuleCI.yml@main