mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-22 08:11:07 -05:00
Fix test for dependency graph with configuration cache
This commit is contained in:
parent
97d9c134b7
commit
33c9bfac14
1 changed files with 3 additions and 3 deletions
|
@ -32,20 +32,20 @@ class TestDependencyGraph extends BaseInitScriptTest {
|
||||||
assert gitHubOutputFile.text == "dependency-graph-file=${reportFile.absolutePath}\n"
|
assert gitHubOutputFile.text == "dependency-graph-file=${reportFile.absolutePath}\n"
|
||||||
|
|
||||||
where:
|
where:
|
||||||
testGradleVersion << GRADLE_8_X
|
testGradleVersion << [GRADLE_8_X]
|
||||||
}
|
}
|
||||||
|
|
||||||
// Dependency-graph plugin doesn't support config-cache for 8.0 of Gradle
|
|
||||||
def "produces dependency graph with configuration-cache on latest Gradle"() {
|
def "produces dependency graph with configuration-cache on latest Gradle"() {
|
||||||
assumeTrue testGradleVersion.compatibleWithCurrentJvm
|
assumeTrue testGradleVersion.compatibleWithCurrentJvm
|
||||||
|
|
||||||
when:
|
when:
|
||||||
run(['help'], initScript, testGradleVersion.gradleVersion, [], envVars)
|
run(['help', '--configuration-cache'], initScript, testGradleVersion.gradleVersion, [], envVars)
|
||||||
|
|
||||||
then:
|
then:
|
||||||
assert reportFile.exists()
|
assert reportFile.exists()
|
||||||
|
|
||||||
where:
|
where:
|
||||||
|
// Dependency-graph plugin doesn't support config-cache for 8.0 of Gradle
|
||||||
testGradleVersion << [GRADLE_8_X]
|
testGradleVersion << [GRADLE_8_X]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue