Skip to content

Commit

Permalink
Use Az.Accounts in the artifacts for module testing in pipeline (#12034)
Browse files Browse the repository at this point in the history
  • Loading branch information
dolauli authored Jun 2, 2020
1 parent d2d98f1 commit 1815829
Showing 1 changed file with 2 additions and 0 deletions.
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

0 comments on commit 1815829

Please sign in to comment.