Skip to content

Commit 4c8540f

Browse files
committed
Ensure test samples are compiled for verification
1 parent e3ba2a8 commit 4c8540f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/build.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ inThisBuild(
1414

1515
val `scala-native-bindgen-tests` = project
1616
.in(file("."))
17+
.aggregate(samples)
1718
.settings(
1819
fork in Test := true,
1920
javaOptions in Test += "-Dbindgen.path=" + file("../target/scalaBindgen"),
@@ -25,5 +26,6 @@ val `scala-native-bindgen-tests` = project
2526
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.5" % Test
2627
)
2728

28-
val samples = project
29+
lazy val samples = project
2930
.enablePlugins(ScalaNativePlugin)
31+
.settings(test := (compile in Compile).value)

0 commit comments

Comments
 (0)