mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-24 02:18:40 +08:00
[macOS] move Pester tests to separate files/contexts/describes (#2573)
* [macOS] Fail Pester tests on error * return it back * added all files for testing * common utils path changed * linux scripts shouldn't be touched
This commit is contained in:
13
images/macos/tests/Git.Tests.ps1
Normal file
13
images/macos/tests/Git.Tests.ps1
Normal file
@@ -0,0 +1,13 @@
|
||||
Describe "Git" {
|
||||
It "git is installed" {
|
||||
"git --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
It "git lfs is installed" {
|
||||
"git lfs version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
It "hub CLI is installed" {
|
||||
"hub --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user