mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-15 22:36:46 +00:00
Migrate validation to Pester (#1249)
* remove Validate-* scripts * Remove references to validation scripts from .json files * Separate "It"s by new lines * Remove new line before the first "It" * Separate "It"s by new lines * remove 32-bit WinAppDriver check * remove explicit variable definition Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
This commit is contained in:
@@ -245,4 +245,48 @@ Describe "ServiceFabricSDK" {
|
||||
It "PowerShell Module" {
|
||||
Get-Module -Name ServiceFabric -ListAvailable | Should -Not -BeNullOrEmpty
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Svn" {
|
||||
It "svn" {
|
||||
"svn --version --quiet" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Stack" {
|
||||
It "Stack" {
|
||||
"stack --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Typescript" {
|
||||
It "tsc" {
|
||||
"tsc --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Vcpkg" {
|
||||
It "vcpkg" {
|
||||
"vcpkg version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
It "env variable VCPKG_INSTALLATION_ROOT is set" {
|
||||
$env:VCPKG_INSTALLATION_ROOT | Should -Not -BeNullOrEmpty
|
||||
}
|
||||
|
||||
It "VCPKG_INSTALLATION_ROOT directory" {
|
||||
$env:VCPKG_INSTALLATION_ROOT | Should -Exist
|
||||
}
|
||||
}
|
||||
|
||||
Describe "VSWhere" {
|
||||
It "vswhere" {
|
||||
"vswhere" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Zstd" {
|
||||
It "zstd" {
|
||||
"zstd -V" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user