Skip to content

Commit 41581c1

Browse files
committed
re-enable scala-native tests
1 parent 4843166 commit 41581c1

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

build.sbt

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -203,29 +203,14 @@ lazy val msgpack4zCore = CrossProject(
203203
s"-scalajs-mapSourceURI:$a->$g/"
204204
}
205205
},
206-
).platformsSettings(JVMPlatform, JSPlatform)(
206+
).settings(
207207
libraryDependencies ++= {
208208
if (CrossVersion.partialVersion(scalaVersion.value).exists(_._1 == 2)) {
209209
Seq("com.chuusai" %%% "shapeless" % "2.3.12" % "test")
210210
} else {
211211
Nil
212212
}
213-
}
214-
).nativeSettings(
215-
Test / sources := {
216-
// TODO re-enable all tests if shapeless for scala-native 0.5.x released
217-
if (scalaBinaryVersion.value == "3") {
218-
(Test / sources).value
219-
} else {
220-
val exclude = Set(
221-
"AsTuple",
222-
"CaseClassExample",
223-
"StdSpec",
224-
"Spec"
225-
).map(_ + ".scala")
226-
(Test / sources).value.filterNot(f => exclude.apply(f.getName))
227-
}
228-
}
213+
},
229214
).platformsSettings(NativePlatform, JSPlatform)(
230215
libraryDependencies ++= Seq(
231216
"com.github.xuwei-k" %%% "msgpack4z-native" % msgpack4zNativeVersion,

0 commit comments

Comments
 (0)