From b54f7015f7f9ca558263be53183443e4bfaa1e7b Mon Sep 17 00:00:00 2001 From: Wojciech Mazur Date: Thu, 7 Nov 2024 21:14:59 +0100 Subject: [PATCH] Exclude flakty fs2 tests from community-build --- .../src/scala/dotty/communitybuild/projects.scala | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/community-build/src/scala/dotty/communitybuild/projects.scala b/community-build/src/scala/dotty/communitybuild/projects.scala index 31c1bb95743c..cbf1710e4ae9 100644 --- a/community-build/src/scala/dotty/communitybuild/projects.scala +++ b/community-build/src/scala/dotty/communitybuild/projects.scala @@ -691,7 +691,13 @@ object projects: lazy val fs2 = SbtCommunityProject( project = "fs2", - sbtTestCommand = "coreJVM/test; coreJS/test", // io/test requires JDK9+ + sbtTestCommand = List( + // Exclude flaky tests + """set core.jvm / Test / managedSources ~= { _.filterNot(_.getName == "BracketSuite.scala") }""", + """set core.js / Test / managedSources ~= { _.filterNot(_.getName == "BracketSuite.scala") }""", + "coreJVM/test", // io/test requires JDK9+ + "coreJS/test" + ).mkString("; "), sbtPublishCommand = "coreJVM/publishLocal; coreJS/publishLocal", scalacOptions = SbtCommunityProject.scalacOptions.filter(_ != "-Wsafe-init"), dependencies = List(cats, catsEffect3, munitCatsEffect, scalacheckEffect, scodecBits)