Skip to content

Commit 9224b54

Browse files
committed
test 2
1 parent fa4ad1c commit 9224b54

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.azure-pipelines/PipelineSteps/BatchGeneration/test-modules.ps1

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ $utilFilePath = Join-Path $RepoRoot '.azure-pipelines' 'PipelineSteps' 'BatchGen
88
Import-Module $utilFilePath -Force
99
$subModuleGroup = Get-Targets -RepoRoot $RepoRoot -TargetsOutputFileName "test$($TestEnvName)Targets.json" -MatrixKey $MatrixKey
1010

11+
if ($TestEnvName -eq 'Linux') {
12+
$accountsModulePath = Join-Path $RepoRoot 'artifacts' 'Debug' "Az.Accounts" "Az.Accounts.psd1"
13+
Import-Module $accountsModulePath -Force
14+
}
15+
1116
$results = @()
1217

1318
foreach ($subModule in $subModuleGroup) {
@@ -24,9 +29,6 @@ foreach ($subModule in $subModuleGroup) {
2429
try {
2530
Write-Host "Testing sub module: $subModule"
2631
$subModulePath = Join-Path $RepoRoot 'artifacts' 'Debug' "Az.$ModuleName" $subModuleName
27-
# if ($TestEnvName -ne 'Windows') {
28-
# $subModulePath = "$RepoRoot/artifacts/Debug/az.$ModuleName/$subModuleName"
29-
# }
3032
Push-Location $subModulePath
3133

3234
& ".\test-module.ps1"

.azure-pipelines/batch-generation.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,4 +399,3 @@ stages:
399399
agentPoolName: ${{ variables.MacOSAgentPoolName }}
400400
agentPoolVMImage: ${{ variables.MacOSAgentPoolVMImage }}
401401
maxParallel: ${{ variables.MaxParallelTestMacJobs }}
402-

0 commit comments

Comments
 (0)