Skip to content

Commit

Permalink
Update test-release.sh script to currently supported versions
Browse files Browse the repository at this point in the history
  • Loading branch information
tgodzik committed Dec 17, 2020
1 parent 79bb9eb commit 8034155
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 4 additions & 2 deletions bin/test-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ coursier resolve \
org.scalameta:munit_2.11:$version \
org.scalameta:munit_2.12:$version \
org.scalameta:munit_2.13:$version \
org.scalameta:munit_3.0.0-M1:$version \
org.scalameta:munit_3.0.0-M2:$version \
org.scalameta:munit_3.0.0-M3:$version \
org.scalameta:munit_0.27:$version \
org.scalameta:munit_native0.4.0-M2_2.11:$version \
org.scalameta:munit_sjs1_2.11:$version \
Expand All @@ -19,7 +20,8 @@ coursier resolve \
org.scalameta:munit-scalacheck_2.12:$version \
org.scalameta:munit-scalacheck_2.13:$version \
org.scalameta:munit-scalacheck_0.27:$version \
org.scalameta:munit-scalacheck_3.0.0-M1:$version \
org.scalameta:munit-scalacheck_3.0.0-M2:$version \
org.scalameta:munit-scalacheck_3.0.0-M3:$version \
org.scalameta:munit-scalacheck_native0.4.0-M2_2.11:$version \
org.scalameta:munit-scalacheck_sjs1_2.11:$version \
org.scalameta:munit-scalacheck_sjs1_2.12:$version \
Expand Down
3 changes: 1 addition & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,7 @@ lazy val munitScalacheck = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.settings(
moduleName := "munit-scalacheck",
sharedSettings,
libraryDependencies +=
"org.scalacheck" %%% "scalacheck" % "1.15.2"
libraryDependencies += "org.scalacheck" %%% "scalacheck" % "1.15.2"
)
.jvmSettings(
sharedJVMSettings
Expand Down
4 changes: 1 addition & 3 deletions tests/shared/src/test/scala/munit/BaseSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ class BaseSuite extends FunSuite {
if (test.tags(NoDotty) && isDotty) {
test.tag(Ignore)
} else if (
test.tags(OnlyFromM3) && Set("3.0.0-M1", "3.0.0-M2")(
BuildInfo.scalaVersion
)
test.tags(OnlyFromM3) && "3.0.0-M2" == BuildInfo.scalaVersion
) {
test.tag(Ignore)
} else if (test.tags(Only213) && !is213) {
Expand Down

0 comments on commit 8034155

Please sign in to comment.