File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed
src/test/scala/org/apache/flinkx/api Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 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 :
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 :
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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 33RELEASE_VERSION_BUMP=true sbt -DflinkVersion=1.15.4 test ' release with-defaults'
44RELEASE_VERSION_BUMP=true sbt -DflinkVersion=1.16.2 test ' release with-defaults'
55RELEASE_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'
67wait
Original file line number Diff line number Diff line change 11package org .apache .flinkx .api
22
33import org .apache .flinkx .api .serializers ._
4- import org .apache .flink .api ._
54import org .apache .flink .api .common .RuntimeExecutionMode
65import org .apache .flink .api .common .restartstrategy .RestartStrategies
76import org .apache .flink .api .common .typeinfo .TypeInformation
You can’t perform that action at this time.
0 commit comments