You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by md...@apache.org on 2023/03/20 12:45:31 UTC

[incubator-pekko-connectors-kafka] branch main updated: Add Scala 2.12 to matrix

This is an automated email from the ASF dual-hosted git repository.

mdedetrich pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-connectors-kafka.git


The following commit(s) were added to refs/heads/main by this push:
     new d36a8e1a Add Scala 2.12 to matrix
d36a8e1a is described below

commit d36a8e1a2a0deaacbc88422b7374118cb440ec8d
Author: Matthew de Detrich <ma...@aiven.io>
AuthorDate: Mon Mar 20 12:47:14 2023 +0100

    Add Scala 2.12 to matrix
---
 .github/workflows/check-build-test.yml                            | 6 ++++--
 tests/src/test/scala/org/apache/pekko/kafka/TransactionsOps.scala | 2 ++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/check-build-test.yml b/.github/workflows/check-build-test.yml
index afc30fb5..e61c6442 100644
--- a/.github/workflows/check-build-test.yml
+++ b/.github/workflows/check-build-test.yml
@@ -72,9 +72,9 @@ jobs:
       - name: Cache Coursier cache
         uses: coursier/cache-action@v6
 
-      - name: Compile all code with fatal warnings for Java 11 and Scala 2.13
+      - name: Compile all code with fatal warnings for Java 11 and Scala 2.12/2.13
         # Run locally with: env CI=true sbt 'clean ; Test/compile ; It/compile'
-        run: sbt "; Test/compile; It/compile"
+        run: sbt "; +Test/compile; +It/compile"
 
   check-docs:
     name: Check Docs
@@ -112,6 +112,8 @@ jobs:
       fail-fast: false
       matrix:
         include:
+          - { java-version: 8,  scala-version: 2.12.17, sbt-opts: '' }
+          - { java-version: 11, scala-version: 2.12.17, sbt-opts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
           - { java-version: 8,  scala-version: 2.13.10, sbt-opts: '' }
           - { java-version: 11, scala-version: 2.13.10, sbt-opts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
     steps:
diff --git a/tests/src/test/scala/org/apache/pekko/kafka/TransactionsOps.scala b/tests/src/test/scala/org/apache/pekko/kafka/TransactionsOps.scala
index 4d7869b4..e136cd28 100644
--- a/tests/src/test/scala/org/apache/pekko/kafka/TransactionsOps.scala
+++ b/tests/src/test/scala/org/apache/pekko/kafka/TransactionsOps.scala
@@ -13,6 +13,7 @@
  */
 
 package org.apache.pekko.kafka
+
 import java.util.concurrent.atomic.AtomicInteger
 
 import org.apache.pekko
@@ -26,6 +27,7 @@ import pekko.stream.Materializer
 import pekko.stream.scaladsl.{ Flow, Sink, Source }
 import pekko.stream.testkit.TestSubscriber
 import pekko.stream.testkit.scaladsl.TestSink
+import pekko.util.ccompat._
 import org.apache.kafka.clients.consumer.ConsumerConfig
 import org.apache.kafka.clients.producer.{ ProducerConfig, ProducerRecord }
 import org.scalatest.TestSuite


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org