mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
* move 7z installation to basic.sh * remove build essential * move imagemagick to apt * move subversion to apt * move subversion to apt * move sphinxsearch to apt * move swig to apt * move pollinate to apt * move haveged to apt * add p7zip to ubuntu 16
29 lines
630 B
PowerShell
29 lines
630 B
PowerShell
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1"
|
|
|
|
$cmd = (Get-ToolsetContent).apt.cmd_packages
|
|
|
|
Describe "Apt" {
|
|
|
|
$testCases = $cmd | ForEach-Object {
|
|
@{ toolName = $_ }
|
|
}
|
|
|
|
It "<toolName> is available" -TestCases $testCases {
|
|
if ($toolName -eq "p7zip-full")
|
|
{
|
|
$toolName = "p7zip"
|
|
}
|
|
|
|
if ($toolName -eq "subversion")
|
|
{
|
|
$toolName = "svn"
|
|
}
|
|
|
|
if ($toolName -eq "sphinxsearch")
|
|
{
|
|
$toolName = "searchd"
|
|
}
|
|
|
|
(Get-Command -Name $toolName).CommandType | Should -BeExactly "Application"
|
|
}
|
|
} |