Skip to content

Commit c6a8722

Browse files
committed
Build: enable testing for the preview versions of IDEA
1 parent 8de9353 commit c6a8722

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

build.gradle.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,4 +246,14 @@ tasks {
246246
)
247247
})
248248
}
249+
250+
val testPreview by intellijPlatformTesting.testIde.registering {
251+
version = libs.versions.intellijPreview
252+
useInstaller = false
253+
task {
254+
enabled = libs.versions.intellij.get() != libs.versions.intellijPreview.get()
255+
}
256+
}
257+
258+
check { dependsOn(testPreview.name) }
249259
}

gradle/libs.versions.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[versions]
22
intellij = "2023.2"
3+
intellijPreview = "242.20224-EAP-CANDIDATE-SNAPSHOT"
34
junixsocket = "2.10.0"
45

56
[libraries]

0 commit comments

Comments
 (0)