We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0c3a39 commit 4c931a4Copy full SHA for 4c931a4
ci/tasks/test-units-bosh-psmodules/run.ps1
@@ -15,7 +15,9 @@ $startupType = Get-Service "wuauserv" | Select-Object -ExpandProperty StartType
15
16
$result = 0
17
18
-$testModules = Get-ChildItem "./stemcell-builder/$env:MODULES_DIR" -recurse | where {$_.name -match ".*.Tests.ps1"} | foreach {$_.DirectoryName}
+$repoRoot = "$PSScriptRoot\..\..\..\"
19
+
20
+$testModules = Get-ChildItem "$repoRoot\$env:MODULES_DIR" -recurse | where {$_.name -match ".*.Tests.ps1"} | foreach {$_.DirectoryName}
21
foreach ($module in $testModules) {
22
Write-Host "Testing: $module"
23
Push-Location "$module"
0 commit comments