mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2026-01-04 17:17:23 +08:00
[macOS] Pester tests invocation after install. (#2421)
* [macOS] Fail Pester tests on error * return it back * [macOS] Pester tests invokation after install * fix nitpicks * CocoaPods fix
This commit is contained in:
15
images/macos/tests/PHP.Tests.ps1
Normal file
15
images/macos/tests/PHP.Tests.ps1
Normal file
@@ -0,0 +1,15 @@
|
||||
Describe "PHP" {
|
||||
Context "PHP" {
|
||||
It "PHP Path" {
|
||||
Get-WhichTool "php" | Should -Not -BeLike "/usr/bin/php*"
|
||||
}
|
||||
It "PHP version" {
|
||||
"php --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
Context "Composer" {
|
||||
It "Composer" {
|
||||
"composer --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user