Skip to content

Commit

Permalink
Disable native tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JD557 committed Apr 11, 2024
1 parent ea72774 commit fa97188
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ val sharedSettings = Seq()

val testSettings = Seq(
libraryDependencies ++= Seq(
"org.scalameta" %%% "munit" % "1.0.0-M11+2-9094c595+20240228-2204-SNAPSHOT" % Test
"org.scalameta" %%% "munit" % "1.0.0-M11" % Test
),
testFrameworks += new TestFramework("munit.Framework")
)
Expand Down Expand Up @@ -86,7 +86,9 @@ val nativeSettings = Seq(
.withLinkStubs(true)
.withLTO(LTO.none)
.withEmbedResources(true)
}
},
// Tests temporarily disabled until munit is released for native 0.5.0
Test / test := (())
)

lazy val root =
Expand All @@ -104,7 +106,8 @@ lazy val core =
crossProject(JVMPlatform, JSPlatform, NativePlatform)
.settings(name := "minart-core")
.settings(sharedSettings)
.settings(testSettings)
.jvmSettings(testSettings) // Tests temporarily disabled until munit is released for native 0.5.0
.jsSettings(testSettings) // Tests temporarily disabled until munit is released for native 0.5.0
.settings(publishSettings)
.settings(docSettings("Minart"))
.settings(siteSettings)
Expand All @@ -116,7 +119,8 @@ lazy val backend =
.dependsOn(core)
.settings(name := "minart-backend")
.settings(sharedSettings)
.settings(testSettings)
.jvmSettings(testSettings) // Tests temporarily disabled until munit is released for native 0.5.0
.jsSettings(testSettings) // Tests temporarily disabled until munit is released for native 0.5.0
.settings(publishSettings)
.settings(docSettings("Minart Backend"))
.jsSettings(jsSettings)
Expand All @@ -127,7 +131,8 @@ lazy val image =
.dependsOn(core, backend % "test")
.settings(name := "minart-image")
.settings(sharedSettings)
.settings(testSettings)
.jvmSettings(testSettings) // Tests temporarily disabled until munit is released for native 0.5.0
.jsSettings(testSettings) // Tests temporarily disabled until munit is released for native 0.5.0
.settings(publishSettings)
.settings(docSettings("Minart Image"))
.jsSettings(jsSettings)
Expand All @@ -138,7 +143,8 @@ lazy val sound =
.dependsOn(core, backend % "test")
.settings(name := "minart-sound")
.settings(sharedSettings)
.settings(testSettings)
.jvmSettings(testSettings) // Tests temporarily disabled until munit is released for native 0.5.0
.jsSettings(testSettings) // Tests temporarily disabled until munit is released for native 0.5.0
.settings(publishSettings)
.settings(docSettings("Minart Sound"))
.jsSettings(jsSettings)
Expand Down

0 comments on commit fa97188

Please sign in to comment.