FANNG1 commented on code in PR #4403:
URL: https://github.com/apache/gravitino/pull/4403#discussion_r1713216740


##########
.github/workflows/build.yml:
##########
@@ -68,6 +68,39 @@ jobs:
       - name: Build with Gradle
         run: ./gradlew build -x test -PjdkVersion=8
 
+  # To check the spark-connector is compatible with scala2.13
+  spark-connector-build:
+    runs-on: ubuntu-latest
+    timeout-minutes: 30
+    needs: changes
+    if: needs.changes.outputs.source_changes == 'true'
+    steps:
+      - uses: actions/checkout@v3
+
+      - uses: actions/setup-java@v4
+        with:
+          java-version: 8
+          distribution: 'temurin'
+          cache: 'gradle'
+
+      - name: Free up disk space
+        run: |
+          dev/ci/util_free_space.sh
+
+      - name: Build with Scala2.13
+        run: |
+          ./gradlew -PscalaVersion=2.13 -PskipITs -PskipDockerTests=false 
:spark-connector:spark-3.4:test

Review Comment:
   please use 
   ```
             ./gradlew  :spark-connector:spark-3.4:build -PscalaVersion=2.13 
-PskipITs -PskipDockerTests=false
             ./gradlew  :spark-connector:spark-3.5:build -PscalaVersion=2.13 
-PskipITs -PskipDockerTests=false 
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to