Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .azure-pipelines/util/test-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ steps:
- powershell: |
Install-Module -Name Pester -RequiredVersion 4.10.1 -Force -SkipPublisherCheck
Install-Module -Name Az.Accounts -Scope CurrentUser -Force
$env:PSModulePath = $env:PSModulePath + ";" + (pwd).Path
Get-ChildItem -Directory Az.* | ForEach-Object {if (Test-Path $_/test-module.ps1) {cd $_; ./test-module.ps1}}
workingDirectory: 'artifacts/Debug'
displayName: Test for AutoGen Modules With Windows PowerShell
Expand All @@ -27,6 +28,7 @@ steps:
- pwsh: |
Install-Module -Name Pester -RequiredVersion 4.10.1 -Force
Install-Module -Name Az.Accounts -Scope CurrentUser -Force
$env:PSModulePath = $env:PSModulePath + ";" + (pwd).Path
Get-ChildItem -Directory Az.* | ForEach-Object {if (Test-Path $_/test-module.ps1) {cd $_; ./test-module.ps1}}
workingDirectory: 'artifacts/Debug'
displayName: 'Test for AutoGen Modules With PowerShell Core'
Expand Down