Skip to content

Commit

Permalink
bugfix: Don't run debug tests on Scala 2.13.15
Browse files Browse the repository at this point in the history
  • Loading branch information
tgodzik committed Jan 12, 2025
1 parent e46bc26 commit 2b2ce43
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import sbt.testing.Fingerprint
import sbt.testing.Framework
import sbt.testing.Runner
import sbt.testing.SubclassFingerprint
import scala.meta.internal.metals.BuildInfo

final case class FingerprintInfo[+Print <: Fingerprint](
name: String,
Expand All @@ -27,7 +28,7 @@ final case class FingerprintInfo[+Print <: Fingerprint](
object TestInternals {
private final val sbtOrg = "org.scala-sbt"
private final val testAgentId = "test-agent"
private final val testAgentVersion = "1.8.0"
private final val testAgentVersion = BuildInfo.sbtVersion

lazy val testAgentFiles: List[Path] = {
val dependency = Dependency.of(sbtOrg, testAgentId, testAgentVersion)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ class MillBreakpointDapSuite
MillBuildLayout,
) {

// TODO https://github.com/scalameta/metals/issues/7108
override def scalaVersion = "2.13.15"

// mill sometimes hangs and doesn't return main classes
override protected val retryTimes: Int = 2

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ class MillDebugDiscoverySuite
// mill sometimes hangs and doesn't return main classes
override protected val retryTimes: Int = 2

// TODO https://github.com/scalameta/metals/issues/7108
override def scalaVersion = "2.13.15"
// Needs LTS 3.3.5
for (scala <- List(scalaVersion, "3.3.3")) {

Expand Down

0 comments on commit 2b2ce43

Please sign in to comment.