We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6e785e commit f8b9b88Copy full SHA for f8b9b88
3 files changed
build.psm1
@@ -537,7 +537,7 @@ function Start-PSPester {
537
538
Write-Verbose "Import-Module '$moduleDir'; Invoke-Pester $tagString $Path"
539
$powershellexe = get-psoutput
540
- & $powershell -noprofile -c "Import-Module '$moduleDir'; Invoke-Pester $tagString $Path"
+ & $powershell -noprofile -c "Set-ExecutionPolicy Unrestricted; Import-Module '$moduleDir'; Invoke-Pester $tagString $Path"
541
if ($LASTEXITCODE -ne 0) {
542
throw "$LASTEXITCODE Pester tests failed"
543
}
0 commit comments