mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-30 13:27:15 +08:00
InstallerProjets scripts have been added
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
################################################################################
|
||||
## File: Install-InstallerProjects.ps1
|
||||
## Desc: Install the InstallerProjects Visual Studio Extension
|
||||
################################################################################
|
||||
|
||||
Import-Module -Name ImageHelpers -Force
|
||||
|
||||
$InstallerProjectsUrl = 'https://marketplace.visualstudio.com/_apis/public/gallery/publishers/VisualStudioClient/vsextensions/MicrosoftVisualStudio2017InstallerProjects/0.9.8/vspackage'
|
||||
Install-VsixExtension -Url $InstallerProjectsUrl -name "InstallerProjects.vsix" -VSversion "2019"
|
||||
|
||||
Invoke-PesterTests -TestFile "InstallerProjects"
|
||||
7
images/win/scripts/Tests/InstallerProjects.Tests.ps1
Normal file
7
images/win/scripts/Tests/InstallerProjects.Tests.ps1
Normal file
@@ -0,0 +1,7 @@
|
||||
Import-Module -Name VsSetup -Force
|
||||
Describe "InstallProjects" {
|
||||
It "InstallProjects exists" {
|
||||
$InstallProjects = (Get-VSSetupInstance | Select-VsSetupInstance -Product *).Packages | Where-Object {$_.id -eq 'VSInstallerProjects' }
|
||||
$InstallProjects | Should -Not -BeNullOrEmpty
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user