Skip to content

Commit 77340c7

Browse files
🩹 [CI]: Update Test-ModuleLocal workflow to use Invoke-Pester@prescript for improved testing
1 parent 8a0e128 commit 77340c7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ jobs:
104104
"path=$path" >> $env:GITHUB_OUTPUT
105105
106106
- name: Test-ModuleLocal
107-
uses: PSModule/Invoke-Pester@v4
107+
# uses: PSModule/Invoke-Pester@v4
108+
uses: PSModule/Invoke-Pester@prescript
108109
continue-on-error: true
109110
env:
110111
TEST_APP_ENT_CLIENT_ID: ${{ secrets.TEST_APP_ENT_CLIENT_ID }}
@@ -129,3 +130,5 @@ jobs:
129130
Path: ${{ inputs.TestPath }}
130131
Run_Path: ${{ steps.import-module.outputs.path }}
131132
WorkingDirectory: ${{ inputs.WorkingDirectory }}
133+
Prescript: |
134+
Import-Module -Name '${{ steps.import-module.outputs.path }}'

0 commit comments

Comments
 (0)