mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
[macOS] Pester tests fail on error (#2378)
* [macOS] Fail Pester tests on error * return it back * [macOS] Pester tests fail on error * some tests were moved * appcenter cli moved * openssl separate describe * added new tests for java * moved stack from haskell * invoke tests to stack * xamarin added tests sources * mongo tests fix * ndk path * xamarin-android-ndk-tests removed * fix nitpicks * added new filename for XamarinNDK * AzCopy Describe change * added azcopy C correct. * android additional_tools tests * remove null elements from massive * added new lines for verification macos 10.13 * add Android Tests for mac, not for linux
This commit is contained in:
@@ -115,5 +115,6 @@ function Invoke-PesterTests {
|
||||
# Fail in case if no tests are run
|
||||
if (-not ($results -and ($results.FailedCount -eq 0) -and ($results.PassedCount -gt 0))) {
|
||||
$results
|
||||
throw "Test run has failed"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user