Skip to content

Commit 30879c4

Browse files
committed
Verify single version at a time
1 parent 04d0d6f commit 30879c4

File tree

2 files changed

+32
-4
lines changed

2 files changed

+32
-4
lines changed

build.gradle.kts

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,11 +292,31 @@ intellijPlatform {
292292
ignoredProblemsFile.set(project.file("verify-ignore-problems.txt"))
293293

294294
ides {
295-
recommended()
295+
if (project.hasProperty("singleIdeVersion")) {
296+
val singleIdeVersion = project.property("singleIdeVersion") as String
297+
select {
298+
types = listOf(IntelliJPlatformType.AndroidStudio)
299+
channels = listOf(ProductRelease.Channel.RELEASE)
300+
sinceBuild = singleIdeVersion
301+
untilBuild = "$singleIdeVersion.*"
302+
}
303+
} else {
304+
recommended()
305+
}
296306
}
297307
}
298308
}
299309

310+
//tasks.named<VerifyPluginTask>("verifyPlugin") {
311+
// doLast {
312+
// val ideDirFile = ideDir.get().asFile
313+
// if (ideDirFile.exists()) {
314+
// println("Deleting IDE directory: " + ideDirFile.absolutePath)
315+
// ideDirFile.deleteRecursively()
316+
// }
317+
// }
318+
//}
319+
300320
tasks {
301321
register<Test>("integration") {
302322
description = "Runs only the UI integration tests that start the IDE"
@@ -418,4 +438,3 @@ tasks.withType<ProcessResources>().configureEach {
418438
exclude("jxbrowser/jxbrowser.properties")
419439
}
420440
}
421-

tool/github.sh

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,18 @@ elif [ "VERIFY_BOT" = "$BOT" ] ; then
8282
echo "Check on space before verifyPluginSignature\n"
8383
df -h
8484
./gradlew verifyPluginSignature
85-
echo "Check on space before verifyPlugin\n"
85+
86+
echo "Check on space before verifyPlugin for 243\n"
87+
df -h
88+
./gradlew verifyPlugin -PsingleIdeVersion=243
89+
90+
echo "Check on space before verifyPlugin for 251\n"
91+
df -h
92+
./gradlew verifyPlugin -PsingleIdeVersion=251
93+
94+
echo "Check on space before verifyPlugin for 252\n"
8695
df -h
87-
./gradlew verifyPlugin
96+
./gradlew verifyPlugin -PsingleIdeVersion=252
8897

8998
elif [ "INTEGRATION_BOT" = "$BOT" ]; then
9099
# Run the integration tests

0 commit comments

Comments
 (0)