File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ lazy val compilerVersion: String =
1010 val file = communitybuildDir.resolve(" scala3-bootstrapped.version" )
1111 new String (Files .readAllBytes(file), UTF_8 )
1212
13+ lazy val isExperimentalCompiler : Boolean =
14+ compilerVersion.contains(" SNAPSHOT" ) || compilerVersion.contains(" NIGHTLY" )
15+
1316lazy val sbtPluginFilePath : String =
1417 // Workaround for https://github.com/sbt/sbt/issues/4395
1518 new File (sys.props(" user.home" ) + " /.sbt/1.0/plugins" ).mkdirs()
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ class CommunityBuildTestB extends CommunityBuildTest:
116116 @ Test def disciplineSpecs2 = projects.disciplineSpecs2.run()
117117 @ Test def munit = projects.munit.run()
118118 @ Test def perspective = projects.perspective.run()
119- @ Test def scodec = projects.scodec.run()
119+ @ Test def scodec = if (isExperimentalCompiler) projects.scodec.run()
120120 @ Test def scodecBits = projects.scodecBits.run()
121121 @ Test def simulacrumScalafixAnnotations = projects.simulacrumScalafixAnnotations.run()
122122end CommunityBuildTestB
You can’t perform that action at this time.
0 commit comments