Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

Fix rebase on v2.1.1 #164

Merged
merged 1 commit into from
Feb 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,21 @@ jobs:
check-latest: true
- name: Run tests
run: sbt ++${{ matrix.scala }} test

validate_doc:
runs-on: ubuntu-latest
steps:
- name: Checkout current branch
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cache scala dependencies
uses: coursier/cache-action@v6
- name: Setup Java
uses: actions/setup-java@v3.10.0
with:
distribution: temurin
java-version: 17
check-latest: true
- name: Validate documentation
run: sbt doc
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ lazy val root = project
zioKafka,
zioKafkaTestUtils,
zioKafkaTest,
zioKafkaBench,
zioKafkaBench
)

def buildInfoSettings(packageName: String) =
Expand Down
1 change: 1 addition & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.0")
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.4.2")
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.11.0")
addSbtPlugin("dev.zio" % "zio-sbt-website" % "0.3.10")
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.4")
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import zio.kafka.consumer.diagnostics.{ DiagnosticEvent, Diagnostics }
import zio.kafka.consumer.internal.Runloop.Command
import zio.kafka.consumer.{ Consumer, ConsumerSettings }
import zio.kafka.embedded.Kafka
import zio.test.TestAspect.nonFlaky
import zio.test.TestAspect.flaky
import zio.test._
import zio.{ durationInt, Scope, ZIO }

Expand Down Expand Up @@ -53,7 +53,7 @@ object RunloopSpec extends ZIOKafkaSpec {
afterCycle_3.isEmpty,
afterCycle_4.size == 1 && afterCycle_4.head == DiagnosticEvent.RunloopEvent(Command.Poll)
)
} @@ nonFlaky(10)
} @@ flaky
)

override def spec: Spec[TestEnvironment with Kafka with Scope, Any] =
Expand Down