Skip to content

Commit 420df9b

Browse files
🪲 [Fix]: Add installation of PSCustomObject from PSGallery to speed up module loading in Pester
1 parent d0f553d commit 420df9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎.github/workflows/Test-ModuleLocal.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,5 @@ jobs:
131131
Run_Path: ${{ steps.import-module.outputs.path }}
132132
WorkingDirectory: ${{ inputs.WorkingDirectory }}
133133
Prescript: | # This is to speed up module loading in Pester.
134+
Install-PSResource -Repository PSGallery -TrustRepository -Name PSCustomObject
134135
Import-Module -Name '${{ steps.import-module.outputs.name }}' -RequiredVersion 999.0.0

0 commit comments

Comments
 (0)