Skip to content

Commit

Permalink
Disable native tests during release
Browse files Browse the repository at this point in the history
  • Loading branch information
adamw committed Nov 6, 2020
1 parent a672866 commit 6ec13ab
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,13 @@ val commonJsBackendSettings = JSDependenciesPlugin.projectSettings ++ List(
)

val commonNativeSettings = commonSettings ++ Seq(
nativeLinkStubs := true
nativeLinkStubs := true,
test in Test := {
// TODO: re-enable after scala-native release > 0.4.0-M2
if (sys.env.isDefinedAt("RELEASE_VERSION")) {
println("[info] Release build, skipping sttp native tests")
} else { (test in Test).value }
}
)

lazy val downloadChromeDriver = taskKey[Unit]("Download chrome driver corresponding to installed google-chrome version")
Expand Down

0 comments on commit 6ec13ab

Please sign in to comment.