mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
exclude macOS less than Catalina (#2570)
This commit is contained in:
committed by
GitHub
parent
1eb504f4d4
commit
e2d6b1632b
@@ -1,4 +1,6 @@
|
||||
Describe "Apache" {
|
||||
$os = Get-OSVersion
|
||||
|
||||
Describe "Apache" -Skip:($os.IsLessThanCatalina) {
|
||||
It "Apache CLI" {
|
||||
"httpd -v" | Should -ReturnZeroExitCode
|
||||
}
|
||||
@@ -8,7 +10,7 @@ Describe "Apache" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Nginx" {
|
||||
Describe "Nginx" -Skip:($os.IsLessThanCatalina) {
|
||||
It "Nginx CLI" {
|
||||
"nginx -v" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user