Skip to content

Commit 0196fd8

Browse files
committed
Exclude flakty tests from fs2 in community-build
1 parent d8ba366 commit 0196fd8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

community-build/src/scala/dotty/communitybuild/projects.scala

+7-1
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,13 @@ object projects:
691691

692692
lazy val fs2 = SbtCommunityProject(
693693
project = "fs2",
694-
sbtTestCommand = "coreJVM/test; coreJS/test", // io/test requires JDK9+
694+
sbtTestCommand = List(
695+
// Exclude flaky tests
696+
"""set core.jvm / Test / managedSources ~= { _.filterNot(_.getName == "BracketSuite.scala") }""",
697+
"""set core.js / Test / managedSources ~= { _.filterNot(_.getName == "BracketSuite.scala") }""",
698+
"coreJVM/test", // io/test requires JDK9+
699+
"coreJS/test"
700+
).mkString("; "),
695701
sbtPublishCommand = "coreJVM/publishLocal; coreJS/publishLocal",
696702
scalacOptions = SbtCommunityProject.scalacOptions.filter(_ != "-Wsafe-init"),
697703
dependencies = List(cats, catsEffect3, munitCatsEffect, scalacheckEffect, scodecBits)

0 commit comments

Comments
 (0)