mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 14:17:22 +00:00
[macOS] Update free space test condition to 14 GB (#10546)
This commit is contained in:
@@ -3,11 +3,12 @@ Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1"
|
|||||||
$os = Get-OSVersion
|
$os = Get-OSVersion
|
||||||
|
|
||||||
Describe "Disk free space" {
|
Describe "Disk free space" {
|
||||||
It "Image has more than 10GB free space" {
|
It "Image has more than 14GB free space" {
|
||||||
# we should have at least 10 GB of free space on macOS images
|
# we should have at least 14 GB of free space on macOS images
|
||||||
# https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops#capabilities-and-limitations
|
# 10GB here: https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops#capabilities-and-limitations
|
||||||
|
# 14GB here: https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
|
||||||
$freeSpace = (Get-PSDrive "/").Free
|
$freeSpace = (Get-PSDrive "/").Free
|
||||||
$freeSpace | Should -BeGreaterOrEqual 10GB
|
$freeSpace | Should -BeGreaterOrEqual 14GB
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user