Skip to content

Commit

Permalink
Update scala versions in test
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed May 30, 2024
1 parent 7e92253 commit f9ccf25
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/sbt-test/native/basic/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ scalapropsNativeSettings

scalapropsVersion := System.getProperty("scalaprops.version")

crossScalaVersions := Seq("2.12.19", "2.13.13", "3.3.1")
crossScalaVersions := Seq("2.12.19", "2.13.14", "3.3.3")

scalacOptions ++= (
"-deprecation" ::
Expand Down
10 changes: 5 additions & 5 deletions src/sbt-test/native/basic/test
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ $ exists target/scala-2.13/src_managed/test/scalaprops/NativeTestMain.scala
$ exec cat target/scala-2.13/src_managed/test/scalaprops/NativeTestMain.scala
$ exists target/scala-2.13/sbt-scalaprops-native-test1-test

$ exists target/scala-3.3.1/src_managed/test/scalaprops/NativeTestMain.scala
$ exec cat target/scala-3.3.1/src_managed/test/scalaprops/NativeTestMain.scala
$ exists target/scala-3.3.1/sbt-scalaprops-native-test1-test
$ exists target/scala-3.3.3/src_managed/test/scalaprops/NativeTestMain.scala
$ exec cat target/scala-3.3.3/src_managed/test/scalaprops/NativeTestMain.scala
$ exists target/scala-3.3.3/sbt-scalaprops-native-test1-test

> set scalapropsNativeWarnEnv := WhenNotNativeEnv.NoWarn
> + test
$ exec cat target/scala-2.12/src_managed/test/scalaprops/NativeTestMain.scala
$ exec cat target/scala-2.13/src_managed/test/scalaprops/NativeTestMain.scala
$ exec cat target/scala-3.3.1/src_managed/test/scalaprops/NativeTestMain.scala
$ exec cat target/scala-3.3.3/src_managed/test/scalaprops/NativeTestMain.scala

> set scalapropsNativeWarnEnv := WhenNotNativeEnv.PrintWarn
> + test
$ exec cat target/scala-2.12/src_managed/test/scalaprops/NativeTestMain.scala
$ exec cat target/scala-2.13/src_managed/test/scalaprops/NativeTestMain.scala
$ exec cat target/scala-3.3.1/src_managed/test/scalaprops/NativeTestMain.scala
$ exec cat target/scala-3.3.3/src_managed/test/scalaprops/NativeTestMain.scala

# TODO
# > set Test / selectMainClass := Some("false.if.else")
Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/test/basic/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ val scala212 = "2.12.19"

scalaVersion := scala212

crossScalaVersions := scala212 :: "2.13.13" :: "3.3.1" :: Nil
crossScalaVersions := scala212 :: "2.13.14" :: "3.3.3" :: Nil

TaskKey[Unit]("checkParallelExecution") := {
assert((Test / parallelExecution).value == false)
Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/test/scalazlaws/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ scalapropsWithScalaz

scalapropsVersion := System.getProperty("scalaprops.version")

crossScalaVersions := "2.12.19" :: "2.13.13" :: "3.3.1" :: Nil
crossScalaVersions := "2.12.19" :: "2.13.14" :: "3.3.3" :: Nil

scalacOptions ++= (
"-deprecation" ::
Expand Down

0 comments on commit f9ccf25

Please sign in to comment.