File tree 2 files changed +5
-4
lines changed
PipelineSteps/BatchGeneration
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ $utilFilePath = Join-Path $RepoRoot '.azure-pipelines' 'PipelineSteps' 'BatchGen
8
8
Import-Module $utilFilePath - Force
9
9
$subModuleGroup = Get-Targets - RepoRoot $RepoRoot - TargetsOutputFileName " test$ ( $TestEnvName ) Targets.json" - MatrixKey $MatrixKey
10
10
11
+ if ($TestEnvName -eq ' Linux' ) {
12
+ $accountsModulePath = Join-Path $RepoRoot ' artifacts' ' Debug' " Az.Accounts" " Az.Accounts.psd1"
13
+ Import-Module $accountsModulePath - Force
14
+ }
15
+
11
16
$results = @ ()
12
17
13
18
foreach ($subModule in $subModuleGroup ) {
@@ -24,9 +29,6 @@ foreach ($subModule in $subModuleGroup) {
24
29
try {
25
30
Write-Host " Testing sub module: $subModule "
26
31
$subModulePath = Join-Path $RepoRoot ' artifacts' ' Debug' " Az.$ModuleName " $subModuleName
27
- # if ($TestEnvName -ne 'Windows') {
28
- # $subModulePath = "$RepoRoot/artifacts/Debug/az.$ModuleName/$subModuleName"
29
- # }
30
32
Push-Location $subModulePath
31
33
32
34
& " .\test-module.ps1"
Original file line number Diff line number Diff line change @@ -399,4 +399,3 @@ stages:
399
399
agentPoolName : ${{ variables.MacOSAgentPoolName }}
400
400
agentPoolVMImage : ${{ variables.MacOSAgentPoolVMImage }}
401
401
maxParallel : ${{ variables.MaxParallelTestMacJobs }}
402
-
You can’t perform that action at this time.
0 commit comments