Skip to content

Commit 316fd36

Browse files
flink-1-18-support
1 parent 696ff79 commit 316fd36

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-20.04
1515
strategy:
1616
matrix:
17-
java: [11, 17]
17+
java: [11]
1818
scala: [2.12.18, 2.13.12, 3.3.1]
1919
flink: [1.15.4]
2020
include:
@@ -24,6 +24,9 @@ jobs:
2424
- scala: 3.3.1
2525
java: 11
2626
flink: 1.17.1
27+
- scala: 3.3.1
28+
java: 17
29+
flink: 1.18.0
2730
steps:
2831
- uses: actions/checkout@v3
2932
with:
@@ -34,9 +37,8 @@ jobs:
3437
distribution: temurin
3538
java-version: ${{ matrix.java }}
3639
cache: sbt
37-
- name: Compile Docs
38-
if: ${{ matrix.java == '11' }}
40+
- name: Compile Docs
3941
run: JAVA_OPTS="--add-opens java.base/java.lang=ALL-UNNAMED" sbt "++ ${{ matrix.scala }} mdoc"
40-
- name: Run tests
42+
- name: Run tests
4143
run: JAVA_OPTS="--add-opens java.base/java.lang=ALL-UNNAMED" sbt -DflinkVersion=${{ matrix.flink }} "++ ${{ matrix.scala }} test"
4244

build.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ lazy val root = (project in file("."))
3636
)
3737
}
3838
},
39+
// some IT tests won't work without running in forked JVM
40+
Test / fork := true,
3941
// Need to isolate macro usage to version-specific folders.
4042
Compile / unmanagedSourceDirectories += {
4143
val dir = (Compile / scalaSource).value.getPath

release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ set -ex
33
RELEASE_VERSION_BUMP=true sbt -DflinkVersion=1.15.4 test 'release with-defaults'
44
RELEASE_VERSION_BUMP=true sbt -DflinkVersion=1.16.2 test 'release with-defaults'
55
RELEASE_VERSION_BUMP=true sbt -DflinkVersion=1.17.1 test 'release with-defaults'
6+
RELEASE_VERSION_BUMP=true sbt -DflinkVersion=1.18.0 test 'release with-defaults'
67
wait

src/test/scala/org/apache/flinkx/api/ExampleTest.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package org.apache.flinkx.api
22

33
import org.apache.flinkx.api.serializers._
4-
import org.apache.flink.api._
54
import org.apache.flink.api.common.RuntimeExecutionMode
65
import org.apache.flink.api.common.restartstrategy.RestartStrategies
76
import org.apache.flink.api.common.typeinfo.TypeInformation

0 commit comments

Comments
 (0)