Skip to content

Commit 4304af6

Browse files
nohwndCopilot
andcommitted
Pilot Pester 6.0.0-rc1 in CI
Update tools/installPSResources.ps1 and the Windows PowerShell CI step to install the Pester 6.0.0 release candidate so CI exercises Pester 6. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 4b0117c commit 4304af6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Test Windows PowerShell
4747
if: matrix.os == 'windows-latest'
4848
run: |
49-
Install-Module Pester -Scope CurrentUser -Force -SkipPublisherCheck
49+
Install-Module Pester -RequiredVersion 6.0.0-rc1 -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck
5050
./build.ps1 -Test -Verbose
5151
shell: powershell
5252

tools/installPSResources.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ Install-PSResource -Verbose -TrustRepository -RequiredResource @{
1818
repository = $PSRepository
1919
}
2020
Pester = @{
21-
version = "5.7.1"
21+
version = "6.0.0-rc1"
22+
prerelease = $true
2223
repository = $PSRepository
2324
}
2425
}

0 commit comments

Comments
 (0)