This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-connectors.git
The following commit(s) were added to refs/heads/main by this push:
new 057eacd71 test with pekko 1.0.x (#710)
057eacd71 is described below
commit 057eacd71355b0a74b3570229d6a13496d6c1cd4
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Jul 1 10:16:57 2024 +0100
test with pekko 1.0.x (#710)
---
.github/workflows/nightly-builds.yaml | 29 ++++++++++++++++++++++
...1-builds.yaml => nightly-pekko-1.0-builds.yaml} | 8 +++---
project/Dependencies.scala | 2 +-
project/project-info.conf | 2 +-
4 files changed, 35 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/nightly-builds.yaml
b/.github/workflows/nightly-builds.yaml
index cdc102e65..8d2444fb1 100644
--- a/.github/workflows/nightly-builds.yaml
+++ b/.github/workflows/nightly-builds.yaml
@@ -8,6 +8,35 @@ on:
permissions: {}
jobs:
+ test-compile:
+ name: Compile
+ runs-on: ubuntu-20.04
+ strategy:
+ fail-fast: false
+ matrix:
+ JDK: [ 8, 11, 17, 21 ]
+ env:
+ JAVA_OPTS: -Xms2G -Xmx3G -Xss2M -XX:ReservedCodeCacheSize=256M
-Dfile.encoding=UTF-8
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+ with:
+ fetch-tags: true
+ fetch-depth: 0
+
+ - name: Setup Java ${{ matrix.JDK }}
+ uses: actions/setup-java@v4
+ with:
+ distribution: temurin
+ java-version: ${{ matrix.JDK }}
+
+ - name: Cache Coursier cache
+ uses: coursier/cache-action@v6
+
+ - name: "compile, including tests. Run locally with: sbt +Test/compile"
+ run: sbt +Test/compile
+
integration-tests:
name: Pekko Connectors Integration tests
runs-on: ubuntu-20.04
diff --git a/.github/workflows/nightly-pekko-1.1-builds.yaml
b/.github/workflows/nightly-pekko-1.0-builds.yaml
similarity index 77%
rename from .github/workflows/nightly-pekko-1.1-builds.yaml
rename to .github/workflows/nightly-pekko-1.0-builds.yaml
index db5cc0fe9..92d98d80a 100644
--- a/.github/workflows/nightly-pekko-1.1-builds.yaml
+++ b/.github/workflows/nightly-pekko-1.0-builds.yaml
@@ -1,4 +1,4 @@
-name: Nightly Pekko 1.1 Builds
+name: Nightly Pekko 1.0 Builds
on:
schedule:
@@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- JDK: [ 8, 11, 17 ]
+ JDK: [ 8, 11, 17, 21 ]
env:
JAVA_OPTS: -Xms2G -Xmx3G -Xss2M -XX:ReservedCodeCacheSize=256M
-Dfile.encoding=UTF-8
@@ -39,5 +39,5 @@ jobs:
- name: Cache Coursier cache
uses: coursier/cache-action@v6
- - name: "compile, including tests. Run locally with: sbt
-Dpekko.build.pekko.version=main +Test/compile"
- run: sbt -Dpekko.build.pekko.version=main
-Dpekko.build.pekko.http.version=main +Test/compile
+ - name: "compile, including tests. Run locally with: sbt
-Dpekko.build.pekko.version=1.0.x -Dpekko.build.pekko.http.version=1.0.x
+Test/compile"
+ run: sbt -Dpekko.build.pekko.version=1.0.x
-Dpekko.build.pekko.http.version=1.0.x +Test/compile
diff --git a/project/Dependencies.scala b/project/Dependencies.scala
index 9f97a2eb7..e7139c285 100644
--- a/project/Dependencies.scala
+++ b/project/Dependencies.scala
@@ -189,7 +189,7 @@ object Dependencies {
libraryDependencies ++= Seq(
"org.apache.pekko" %% "pekko-slf4j" % PekkoVersion,
"org.apache.pekko" %% "pekko-stream-testkit" % PekkoVersion % Test,
- "org.apache.pekko" %% "pekko-connectors-kafka" % "1.0.0" % Test,
+ "org.apache.pekko" %% "pekko-connectors-kafka" % "1.1.0-M1" % Test,
"junit" % "junit" % "4.13.2" % Test,
"org.scalatest" %% "scalatest" % ScalaTestVersion % Test))
diff --git a/project/project-info.conf b/project/project-info.conf
index be316dccb..86444b801 100644
--- a/project/project-info.conf
+++ b/project/project-info.conf
@@ -5,7 +5,7 @@ project-info {
labels: "https://github.com/apache/pekko-connectors/labels/p%3A"
scaladoc:
"https://pekko.apache.org/api/pekko-connectors/"${project-info.version}"/org/apache/pekko/stream/connectors/"
shared-info {
- jdk-versions: ["OpenJDK 8", "OpenJDK 11", "OpenJDK 17"]
+ jdk-versions: ["OpenJDK 8", "OpenJDK 11", "OpenJDK 17", "OpenJDK 21"]
snapshots: {
url: "other-docs/snapshots.html"
text: "Snapshots are available"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]