Add test for no cache-cleanup with config-cache hit

This commit is contained in:
daz
2024-07-18 21:40:13 -06:00
parent 54f7dc55a5
commit a77cb2b0f8
4 changed files with 80 additions and 21 deletions

View File

@@ -24,6 +24,10 @@ export class BuildResults {
return this.results.some(result => result.buildFailed)
}
anyConfigCacheHit(): boolean {
return this.results.some(result => result.configCacheHit)
}
uniqueGradleHomes(): string[] {
const allHomes = this.results.map(buildResult => buildResult.gradleHomeDir)
return Array.from(new Set(allHomes))