Add miniconda to windows 2022 image (#4467)

This commit is contained in:
Mikhail Timofeev
2021-11-11 15:27:09 +03:00
committed by GitHub
parent 10ea71465c
commit e5e8cc59dd
3 changed files with 4 additions and 8 deletions

View File

@@ -51,6 +51,7 @@ $markdown += New-MDList -Style Unordered -Lines ($languageTools | Sort-Object)
$packageManagementList = @( $packageManagementList = @(
(Get-ChocoVersion), (Get-ChocoVersion),
(Get-CondaVersion),
(Get-ComposerVersion), (Get-ComposerVersion),
(Get-HelmVersion), (Get-HelmVersion),
(Get-NPMVersion), (Get-NPMVersion),
@@ -62,12 +63,6 @@ $packageManagementList = @(
(Get-YarnVersion) (Get-YarnVersion)
) )
if ((Test-IsWin16) -or (Test-IsWin19)) {
$packageManagementList += @(
(Get-CondaVersion)
)
}
$markdown += New-MDHeader "Package Management" -Level 3 $markdown += New-MDHeader "Package Management" -Level 3
$markdown += New-MDList -Style Unordered -Lines ($packageManagementList | Sort-Object) $markdown += New-MDList -Style Unordered -Lines ($packageManagementList | Sort-Object)

View File

@@ -1,8 +1,8 @@
Describe "Miniconda" -Skip:(Test-IsWin22) { Describe "Miniconda" {
It "Miniconda Environment variables is set. " { It "Miniconda Environment variables is set. " {
${env:CONDA} | Should -Not -BeNullOrEmpty ${env:CONDA} | Should -Not -BeNullOrEmpty
} }
It "Miniconda $env:CONDA\<PathTest> " -TestCases @( It "Miniconda $env:CONDA\<PathTest> " -TestCases @(
@{ PathTest = "python.exe" } @{ PathTest = "python.exe" }
@{ PathTest = "Scripts\conda.exe" } @{ PathTest = "Scripts\conda.exe" }

View File

@@ -221,6 +221,7 @@
"{{ template_dir }}/scripts/Installers/Install-Mingw64.ps1", "{{ template_dir }}/scripts/Installers/Install-Mingw64.ps1",
"{{ template_dir }}/scripts/Installers/Install-Haskell.ps1", "{{ template_dir }}/scripts/Installers/Install-Haskell.ps1",
"{{ template_dir }}/scripts/Installers/Install-Stack.ps1", "{{ template_dir }}/scripts/Installers/Install-Stack.ps1",
"{{ template_dir }}/scripts/Installers/Install-Miniconda.ps1",
"{{ template_dir }}/scripts/Installers/Install-AzureCosmosDbEmulator.ps1", "{{ template_dir }}/scripts/Installers/Install-AzureCosmosDbEmulator.ps1",
"{{ template_dir }}/scripts/Installers/Install-Mercurial.ps1", "{{ template_dir }}/scripts/Installers/Install-Mercurial.ps1",
"{{ template_dir }}/scripts/Installers/Install-Zstd.ps1", "{{ template_dir }}/scripts/Installers/Install-Zstd.ps1",