mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
[Windows] Move Android and VS helpers to dedicated files (#8903)
This commit is contained in:
committed by
GitHub
parent
45a5b970b8
commit
eb0e4ff100
@@ -1,7 +1,8 @@
|
||||
Describe "Visual Studio" {
|
||||
Context "Basic" {
|
||||
It "Catalog.json" {
|
||||
Get-VsCatalogJsonPath | Should -Exist
|
||||
$instanceFolder = Get-Item "C:\ProgramData\Microsoft\VisualStudio\Packages\_Instances\*" | Select-Object -First 1
|
||||
Join-Path $instanceFolder.FullName "catalog.json" | Should -Exist
|
||||
}
|
||||
|
||||
It "Devenv.exe" {
|
||||
@@ -34,4 +35,4 @@ Describe "Windows 11 SDK" {
|
||||
It "Verifies 22621 SDK is installed" -Skip:(Test-IsWin22) {
|
||||
"${env:ProgramFiles(x86)}\Windows Kits\10\DesignTime\CommonConfiguration\Neutral\UAP\10.0.22621.0\UAP.props" | Should -Exist
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
Describe "Vsix" {
|
||||
$toolset = Get-ToolsetContent
|
||||
$requiredVsixs = $toolset.visualStudio.vsix
|
||||
$requiredVsixPackages = $toolset.visualStudio.vsix
|
||||
|
||||
$allPackages = (Get-VisualStudioInstance).Packages
|
||||
$testCases = $requiredVsixs | ForEach-Object {
|
||||
$vsix = Get-VsixExtenstionFromMarketplace -ExtensionMarketPlaceName $_
|
||||
$testCases = $requiredVsixPackages | ForEach-Object {
|
||||
$vsixPackage = Get-VsixInfoFromMarketplace $_
|
||||
@{
|
||||
VsixName = $vsix.ExtensionName
|
||||
VsixId = $vsix.VsixId
|
||||
VsixName = $vsixPackage.ExtensionName
|
||||
VsixId = $vsixPackage.VsixId
|
||||
AllPackages = $allPackages
|
||||
}
|
||||
}
|
||||
@@ -17,4 +17,4 @@ Describe "Vsix" {
|
||||
$objVsix | Should -Not -BeNullOrEmpty
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user