mirror of
https://github.com/actions/runner-images.git
synced 2025-12-27 20:25:26 +08:00
[macOS] add pester tests to install scripts part-1. (#2286)
* [macOS] add pester tests to install scripts part-1. * changed version * added changes related to common utils installation * added source tests file * removed tests from homebrew * moved jq to homebrew * fix nitpicks * incorrect things are fixed. * fixed some mistakes in the text * commonutils changed. * remove swiftlint installation from toolsets * removed useless string
This commit is contained in:
@@ -106,7 +106,7 @@ function Invoke-PesterTests {
|
||||
$configuration.Filter.FullName = $TestName
|
||||
}
|
||||
|
||||
# Switch ErrorActionPreference to Stop temporary to make sure that tests will on silent errors too
|
||||
# Switch ErrorActionPreference to make sure that tests will fail on silent errors too
|
||||
$backupErrorActionPreference = $ErrorActionPreference
|
||||
$ErrorActionPreference = "Stop"
|
||||
$results = Invoke-Pester -Configuration $configuration
|
||||
|
||||
Reference in New Issue
Block a user