Skip to content

Commit

Permalink
community build: Update cats-effect to latest upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
griggt committed Dec 5, 2020
1 parent 6195e2a commit 6f64117
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion community-build/community-projects/cats-effect-2
Submodule cats-effect-2 updated 62 files
+15 −42 .github/workflows/ci.yml
+1 −1 .github/workflows/clean.yml
+2 −0 .gitignore
+7 −7 README.md
+1 −1 benchmarks/run-benchmark
+6 −3 benchmarks/shared/src/main/scala/cats/effect/benchmarks/AsyncBenchmark.scala
+1 −0 benchmarks/shared/src/main/scala/cats/effect/benchmarks/AttemptBenchmark.scala
+1 −0 benchmarks/shared/src/main/scala/cats/effect/benchmarks/DeepBindBenchmark.scala
+16 −0 benchmarks/shared/src/main/scala/cats/effect/benchmarks/ECBenchmark.scala
+1 −0 benchmarks/shared/src/main/scala/cats/effect/benchmarks/HandleErrorBenchmark.scala
+1 −0 benchmarks/shared/src/main/scala/cats/effect/benchmarks/MapCallsBenchmark.scala
+1 −0 benchmarks/shared/src/main/scala/cats/effect/benchmarks/MapStreamBenchmark.scala
+78 −0 benchmarks/shared/src/main/scala/cats/effect/benchmarks/RefBenchmark.scala
+1 −0 benchmarks/shared/src/main/scala/cats/effect/benchmarks/ShallowBindBenchmark.scala
+30 −33 build.sbt
+4 −2 core/js/src/main/scala/cats/effect/internals/IOAppPlatform.scala
+1 −1 core/jvm/src/main/scala/cats/effect/internals/IOAppCompanionPlatform.scala
+9 −1 core/jvm/src/main/scala/cats/effect/internals/IOAppPlatform.scala
+71 −0 core/jvm/src/main/scala/cats/effect/internals/NonDaemonThreadLogger.scala
+1 −1 core/jvm/src/main/scala/cats/effect/internals/ResourcePlatform.scala
+120 −0 core/shared/src/main/scala-2.12/cats/effect/ResourceLike.scala
+0 −765 core/shared/src/main/scala-2.13+/cats/effect/Resource.scala
+120 −0 core/shared/src/main/scala-2.13+/cats/effect/ResourceLike.scala
+6 −6 core/shared/src/main/scala/cats/effect/Bracket.scala
+1 −1 core/shared/src/main/scala/cats/effect/Concurrent.scala
+1 −1 core/shared/src/main/scala/cats/effect/IO.scala
+20 −1 core/shared/src/main/scala/cats/effect/IOApp.scala
+108 −129 core/shared/src/main/scala/cats/effect/Resource.scala
+1 −1 core/shared/src/main/scala/cats/effect/Sync.scala
+30 −2 core/shared/src/main/scala/cats/effect/concurrent/Ref.scala
+5 −2 core/shared/src/main/scala/cats/effect/internals/IORunLoop.scala
+6 −0 core/shared/src/main/scala/cats/effect/package.scala
+3 −5 core/shared/src/test/scala/cats/effect/AsyncTests.scala
+3 −0 core/shared/src/test/scala/cats/effect/CatsEffectSuite.scala
+5 −7 core/shared/src/test/scala/cats/effect/ConcurrentTests.scala
+1 −3 core/shared/src/test/scala/cats/effect/IOAppTests.scala
+1 −1 core/shared/src/test/scala/cats/effect/SyntaxTests.scala
+24 −32 core/shared/src/test/scala/cats/effect/concurrent/DeferredTests.scala
+40 −122 core/shared/src/test/scala/cats/effect/concurrent/LensRefTests.scala
+132 −224 core/shared/src/test/scala/cats/effect/concurrent/MVarTests.scala
+49 −84 core/shared/src/test/scala/cats/effect/concurrent/RefTests.scala
+93 −133 core/shared/src/test/scala/cats/effect/concurrent/SemaphoreTests.scala
+1 −3 laws/js/src/test/scala/cats/effect/IOJSTests.scala
+2 −2 laws/shared/src/main/scala/cats/effect/laws/util/TestInstances.scala
+9 −12 laws/shared/src/test/scala/cats/effect/ConcurrentContinualTests.scala
+36 −346 laws/shared/src/test/scala/cats/effect/TimerTests.scala
+1 −1 project/build.properties
+4 −4 project/plugins.sbt
+8 −3 site/src/main/mdoc/concurrency/basics.md
+1 −1 site/src/main/mdoc/concurrency/deferred.md
+1 −1 site/src/main/mdoc/concurrency/ref.md
+1 −1 site/src/main/mdoc/concurrency/semaphore.md
+1 −1 site/src/main/mdoc/datatypes/clock.md
+1 −1 site/src/main/mdoc/datatypes/contextshift.md
+9 −10 site/src/main/mdoc/datatypes/io.md
+2 −2 site/src/main/mdoc/datatypes/resource.md
+93 −0 site/src/main/mdoc/testing/index.md
+1 −1 site/src/main/mdoc/tracing/index.md
+517 −761 site/src/main/mdoc/tutorial/tutorial.md
+0 −1 site/src/main/mdoc/typeclasses/liftio.md
+2 −2 site/src/main/mdoc/typeclasses/sync.md
+4 −0 site/src/main/resources/microsite/data/menu.yml
2 changes: 1 addition & 1 deletion community-build/community-projects/cats-effect-3
Submodule cats-effect-3 updated 200 files
10 changes: 5 additions & 5 deletions community-build/src/scala/dotty/communitybuild/projects.scala
Original file line number Diff line number Diff line change
Expand Up @@ -459,15 +459,15 @@ object projects:
lazy val catsEffect2 = SbtCommunityProject(
project = "cats-effect-2",
sbtTestCommand = "test",
// Currently is excluded from community build
// sbtDocCommand = ";coreJVM/doc ;lawsJVM/doc",
sbtDocCommand = ";coreJVM/doc ;lawsJVM/doc",
dependencies = List(cats, disciplineMunit)
)

lazy val catsEffect3 = SbtCommunityProject(
project = "cats-effect-3",
sbtTestCommand = "testIfRelevant",
// The problem is that testIfRelevant does not compile and project does not compile
// sbtDocCommand = ";coreJVM/doc ;lawsJVM/doc ;kernelJVM/doc",
sbtTestCommand = "test",
sbtDocCommand = ";coreJVM/doc ;lawsJVM/doc ;kernelJVM/doc",
dependencies = List(cats, coop, disciplineSpecs2, scalacheck)
)

lazy val scalaParallelCollections = SbtCommunityProject(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,9 @@ end CommunityBuildTestA
class CommunityBuildTestB extends CommunityBuildTest:
@Test def algebra = projects.algebra.run()
@Test def betterfiles = projects.betterfiles.run()
// temporarily disabled due to lampepfl/dotty#10478
//@Test def catsEffect2 = projects.catsEffect2.run()
//@Test def catsEffect3 = projects.catsEffect3.run()
@Test def cats = projects.cats.run()
@Test def catsEffect2 = projects.catsEffect2.run()
@Test def catsEffect3 = projects.catsEffect3.run()
@Test def catsMtl = projects.catsMtl.run()
@Test def coop = projects.coop.run()
@Test def discipline = projects.discipline.run()
Expand Down

0 comments on commit 6f64117

Please sign in to comment.