Skip to content

Commit b54f701

Browse files
committed
Exclude flakty fs2 tests from community-build
1 parent 63849a0 commit b54f701

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
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)