Skip to content

Commit 6506939

Browse files
MaesterChestnutChris Chestnut
andauthored
Never cache integration and prod tests; always run them so that we dont miss checking for the latest version of our dependencies (#8192)
Co-authored-by: Chris Chestnut <cchestnut@google.com>
1 parent 13eb0f6 commit 6506939

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

firebase-appdistribution-gradle/firebase-appdistribution-gradle.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@ task integrationTest(type: Test) {
171171
description = 'Runs integration tests.'
172172
group = 'verification'
173173

174+
// Disable caching because the tests use com.google.firebase.appdistribution.gradle.VersionUtils,
175+
// which fetches the latest version from the internet.
176+
outputs.upToDateWhen { false }
177+
174178
testClassesDirs = sourceSets.integrationTest.output.classesDirs
175179
classpath = sourceSets.integrationTest.runtimeClasspath
176180

@@ -185,6 +189,10 @@ task prodTest(type: Test) {
185189
description = 'Runs prod tests.'
186190
group = 'verification'
187191

192+
// Disable caching because the tests use com.google.firebase.appdistribution.gradle.VersionUtils,
193+
// which fetches the latest version from the internet.
194+
outputs.upToDateWhen { false }
195+
188196
testClassesDirs = sourceSets.prodTest.output.classesDirs
189197
classpath = sourceSets.prodTest.runtimeClasspath
190198

0 commit comments

Comments
 (0)