File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ runs:
279279 run : ${{ github.action_path }}/src/main.ps1
280280
281281 - name : Invoke-Pester
282- uses : PSModule/Invoke-Pester@4ff33199141fdf22568990b6107fe3148ae93a1c # v5.1.0
282+ uses : PSModule/Invoke-Pester@f5e3a9fe9a9cac1069d61c7bca0a99f6fceb5fb2 # PR 78
283283 id : test
284284 env :
285285 LocalTestPath : ${{ steps.paths.outputs.LocalTestPath }}
@@ -292,6 +292,7 @@ runs:
292292 GitHubVersion : ${{ inputs.Version }}
293293 GitHubPrerelease : ${{ inputs.Prerelease }}
294294 WorkingDirectory : ${{ inputs.WorkingDirectory }}
295+ OutputDirectory : ${{ inputs.WorkingDirectory }}/.PSModule
295296 Path : ${{ steps.paths.outputs.TestPath }}
296297 StepSummary_Mode : ${{ inputs.StepSummary_Mode }}
297298 StepSummary_ShowTestOverview : ${{ inputs.StepSummary_ShowTestOverview }}
Original file line number Diff line number Diff line change 6969 "path=$path" >> $env:GITHUB_OUTPUT
7070
7171 - name : Test-ModuleLocal
72- uses : PSModule/Invoke-Pester@4ff33199141fdf22568990b6107fe3148ae93a1c # v5.1.0
72+ uses : PSModule/Invoke-Pester@f5e3a9fe9a9cac1069d61c7bca0a99f6fceb5fb2 # PR 78
7373 with :
7474 Debug : ${{ fromJson(inputs.Settings).Debug }}
7575 Verbose : ${{ fromJson(inputs.Settings).Verbose }}
8686 Path : ${{ matrix.TestPath }}
8787 Run_Path : ${{ steps.import-module.outputs.path }}
8888 WorkingDirectory : ${{ fromJson(inputs.Settings).WorkingDirectory }}
89+ OutputDirectory : ${{ fromJson(inputs.Settings).WorkingDirectory }}/.PSModule
8990 Prescript : | # This is to speed up module loading in Pester.
9091 Install-PSResource -Repository PSGallery -TrustRepository -Name PSCustomObject
9192 Import-Module -Name '${{ steps.import-module.outputs.name }}' -RequiredVersion '${{ fromJson(inputs.Settings).Publish.Module.Resolution.Version }}'
You can’t perform that action at this time.
0 commit comments