File tree Expand file tree Collapse file tree 6 files changed +16
-9
lines changed
build-logic/src/main/kotlin/org/modelix
bulk-model-sync-lib-mps-test/src/test/kotlin/org/modelix/model/sync/bulk/lib/test
mps-model-adapters-plugin
src/test/kotlin/org/modelix/model/mpsadapters Expand file tree Collapse file tree 6 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 2222 - " 2022.2"
2323 - " 2022.3"
2424 - " 2023.2"
25+ - " 2023.3"
26+ - " 2024.1"
2527
2628 steps :
2729 - uses : actions/checkout@v4
3840 :bulk-model-sync-mps:build
3941 :metamodel-export:build
4042 :mps-model-adapters:build
43+ :mps-model-adapters-plugin:build
4144 :mps-model-server-plugin:build
4245 -Pmps.version.major=${{ matrix.version }}
Original file line number Diff line number Diff line change @@ -41,10 +41,11 @@ val Project.mpsVersion: String get() {
4141 " 2021.1" to " 2021.1.4" ,
4242 " 2021.2" to " 2021.2.6" ,
4343 " 2021.3" to " 2021.3.5" ,
44- " 2022.2" to " 2022.2.2 " ,
44+ " 2022.2" to " 2022.2.3 " ,
4545 " 2022.3" to " 2022.3.1" ,
4646 " 2023.2" to " 2023.2" ,
47- " 2023.3" to " 2023.3-RC1" ,
47+ " 2023.3" to " 2023.3" ,
48+ " 2024.1" to " 2024.1-EAP1" ,
4849 )[it],
4950 ) { " Unknown MPS version: $it " }
5051 }
Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ import java.util.regex.Pattern
2929private val TESTDATA_PATTERN = Pattern .compile(" .*\\ (testdata (.*)\\ )" )
3030
3131abstract class MPSTestBase : HeavyPlatformTestCase () {
32+ init {
33+ // workaround for MPS 2023.3 failing to start in test mode
34+ System .setProperty(" intellij.platform.load.app.info.from.resources" , " true" )
35+ }
3236
3337 protected lateinit var projectDir: Path
3438
Original file line number Diff line number Diff line change 11import org.modelix.copyMps
2- import org.modelix.mpsJavaVersion
32
43plugins {
54 kotlin(" jvm" )
@@ -17,13 +16,9 @@ intellij {
1716}
1817
1918tasks {
20- withType< org.jetbrains.kotlin.gradle.tasks.KotlinCompile > {
21- kotlinOptions.jvmTarget = mpsJavaVersion.toString()
22- }
23-
2419 patchPluginXml {
2520 sinceBuild.set(" 211" )
26- untilBuild.set(" 232.10072.781 " )
21+ untilBuild.set(" 241.* " )
2722 }
2823
2924 buildSearchableOptions {
Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ import kotlin.io.path.deleteRecursively
3939 */
4040@Suppress(" removal" )
4141abstract class MpsAdaptersTestBase (val testDataName : String? ) : UsefulTestCase() {
42+ init {
43+ // workaround for MPS 2023.3 failing to start in test mode
44+ System .setProperty(" intellij.platform.load.app.info.from.resources" , " true" )
45+ }
4246
4347 protected lateinit var project: Project
4448
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ tasks {
3737
3838 patchPluginXml {
3939 sinceBuild.set(" 203" )
40- untilBuild.set(" 231 .*" )
40+ untilBuild.set(" 241 .*" )
4141 }
4242
4343 buildSearchableOptions {
You can’t perform that action at this time.
0 commit comments