mirror of
https://github.com/actions/runner-images.git
synced 2025-12-24 02:20:20 +08:00
[macOS] Add actions/runner cache (#11713)
This commit is contained in:
7
images/macos/scripts/tests/RunnerCache.Tests.ps1
Normal file
7
images/macos/scripts/tests/RunnerCache.Tests.ps1
Normal file
@@ -0,0 +1,7 @@
|
||||
Describe "RunnerCache" {
|
||||
Context "runner cache directory not empty" {
|
||||
It "<RunnerCachePath> not empty" -TestCases @{ RunnerCachePath = "/opt/runner-cache" } {
|
||||
(Get-ChildItem -Path "$RunnerCachePath/*.tar.gz" -Recurse).Count | Should -BeGreaterThan 0
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user