Add miniconda to macOS 12 (#5693)

This commit is contained in:
Aleksandr Chebotov
2022-06-06 14:39:50 +02:00
committed by GitHub
parent 787d6f6ee7
commit f380cc1031
3 changed files with 7 additions and 12 deletions

View File

@@ -63,6 +63,7 @@ $packageManagementList = @(
(Get-PipxVersion),
(Get-BundlerVersion),
(Get-CocoaPodsVersion),
(Get-CondaVersion),
(Get-HomebrewVersion),
(Get-NPMVersion),
(Get-YarnVersion),
@@ -73,18 +74,11 @@ $packageManagementList = @(
(Get-VcpkgVersion)
)
if ($os.IsLessThanMonterey) {
$packageManagementList += @(
(Get-CondaVersion)
)
}
$markdown += New-MDList -Style Unordered -Lines ($packageManagementList | Sort-Object)
if ($os.IsLessThanMonterey) {
$markdown += New-MDHeader "Environment variables" -Level 4
$markdown += Build-PackageManagementEnvironmentTable | New-MDTable
$markdown += New-MDNewLine
}
$markdown += New-MDHeader "Environment variables" -Level 4
$markdown += Build-PackageManagementEnvironmentTable | New-MDTable
$markdown += New-MDNewLine
# Project Management
$markdown += New-MDHeader "Project Management" -Level 3
$markdown += New-MDList -Style Unordered -Lines (@(

View File

@@ -200,6 +200,7 @@
"./provision/core/mongodb.sh",
"./provision/core/audiodevice.sh",
"./provision/core/vcpkg.sh",
"./provision/core/miniconda.sh",
"./provision/core/safari.sh",
"./provision/core/chrome.sh",
"./provision/core/edge.sh",

View File

@@ -58,7 +58,7 @@ Describe "AzCopy" {
}
}
Describe "Miniconda" -Skip:($os.IsMonterey) {
Describe "Miniconda" {
It "Conda" {
Get-EnvironmentVariable "CONDA" | Should -Not -BeNullOrEmpty
$condaBinPath = Join-Path $env:CONDA "bin" "conda"