Skip to content

Commit

Permalink
Add RunWith annotation (and fail CI pipeline).
Browse files Browse the repository at this point in the history
  • Loading branch information
zainab-ali committed Mar 12, 2024
1 parent 901504e commit 13400cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/core/shared/src/main/scala/weaver/suites.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import cats.syntax.all._

import fs2.Stream
import org.portablescala.reflect.annotation.EnableReflectiveInstantiation
import org.junit.runner.RunWith

// Just a non-parameterized marker trait to help SBT's test detection logic.
@EnableReflectiveInstantiation
Expand Down Expand Up @@ -59,6 +60,7 @@ object EffectSuite {

}

@RunWith(classOf[weaver.junit.WeaverRunner])
abstract class RunnableSuite[F[_]] extends EffectSuite[F] {
implicit protected def effectCompat: UnsafeRun[EffectType]
private[weaver] def getEffectCompat: UnsafeRun[EffectType] = effectCompat
Expand Down

0 comments on commit 13400cb

Please sign in to comment.