Skip to content

Commit

Permalink
chore: Update munit-cats-effect-3 from 1.0.7 to 2.0.0 (#136)
Browse files Browse the repository at this point in the history
* chore: Update munit-cats-effect-3 from 1.0.7 to 2.0.0
* Bump scalacheck-munit with munit to 2.0.0-M2 to share correct munit dependency

---------

Co-authored-by: RenkuBot <[email protected]>
Co-authored-by: Eike Kettner <[email protected]>
  • Loading branch information
3 people authored May 23, 2024
1 parent 6d36c43 commit 1a92b2d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
19 changes: 11 additions & 8 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ lazy val commons = project
Dependencies.catsEffect ++
Dependencies.ducktape ++
Dependencies.fs2Core ++
Dependencies.scodecBits,
Dependencies.scodecBits ++
Dependencies.scribe,
Test / sourceGenerators += Def.task {
val sourceDir =
(LocalRootProject / baseDirectory).value / "project"
Expand Down Expand Up @@ -113,7 +114,8 @@ lazy val jwt = project
name := "jwt",
description := "jwt with borer",
libraryDependencies ++= Dependencies.borer ++
Dependencies.jwtScala
Dependencies.jwtScala ++
Dependencies.scribe
)

lazy val http4sBorer = project
Expand Down Expand Up @@ -207,7 +209,8 @@ lazy val redisClient = project
Dependencies.catsCore ++
Dependencies.catsEffect ++
Dependencies.redis4Cats ++
Dependencies.redis4CatsStreams
Dependencies.redis4CatsStreams ++
Dependencies.scribe
)
.enablePlugins(AutomateHeaderPlugin)
.disablePlugins(RevolverPlugin)
Expand Down Expand Up @@ -278,7 +281,8 @@ lazy val avroCodec = project
name := "avro-codec",
libraryDependencies ++=
Dependencies.avro ++
Dependencies.scodecBits
Dependencies.scodecBits ++
Dependencies.scribe
)

lazy val http4sAvro = project
Expand Down Expand Up @@ -449,12 +453,11 @@ lazy val commonSettings = Seq(
Test / parallelExecution := false,
semanticdbEnabled := true, // enable SemanticDB
semanticdbVersion := scalafixSemanticdb.revision,
libraryDependencies ++=
Dependencies.scribe,
libraryDependencies ++= (
Dependencies.catsEffectMunit ++
Dependencies.munitCatsEffect ++
Dependencies.scalacheckEffectMunit ++
Dependencies.catsScalaCheck
Dependencies.catsScalaCheck ++
Dependencies.scribe
).map(_ % Test),
// Format: on
organizationName := "Swiss Data Science Center (SDSC)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

package io.renku.search.provision

import scala.concurrent.duration.Duration

import cats.effect.{IO, Resource}
import cats.syntax.all.*
import fs2.Stream
Expand All @@ -35,8 +33,6 @@ import io.renku.search.solr.query.SolrToken
import io.renku.solr.client.{QueryData, QueryString}

trait ProvisioningSuite extends SearchSolrSuite with QueueSpec:
override val munitTimeout = Duration(1, "min")

val queueConfig: QueuesConfig = QueuesConfig(
projectCreated = QueueName("projectCreated"),
projectUpdated = QueueName("projectUpdated"),
Expand Down
8 changes: 4 additions & 4 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ object Dependencies {
val borer = "1.14.0"
val catsCore = "2.10.0"
val catsEffect = "3.5.4"
val catsEffectMunit = "1.0.7"
val munitCatsEffect = "2.0.0"
val catsParse = "1.0.0"
val catsScalaCheck = "0.3.2"
val ciris = "3.6.0"
Expand All @@ -21,7 +21,7 @@ object Dependencies {
val redis4Cats = "1.7.0"
val sbtMdoc = "2.5.2"
val scala = "3.4.2"
val scalacheckEffectMunit = "1.0.4"
val scalacheckEffectMunit = "2.0.0-M2"
val scodec = "2.2.2"
val scodecBits = "1.2.0"
val scribe = "3.13.5"
Expand Down Expand Up @@ -82,8 +82,8 @@ object Dependencies {
"org.typelevel" %% "cats-effect" % V.catsEffect
)

val catsEffectMunit = Seq(
"org.typelevel" %% "munit-cats-effect-3" % V.catsEffectMunit
val munitCatsEffect = Seq(
"org.typelevel" %% "munit-cats-effect" % V.munitCatsEffect
)

val decline = Seq(
Expand Down

0 comments on commit 1a92b2d

Please sign in to comment.