Skip to content

Commit d1de69f

Browse files
committed
[SPARK-34813][INFRA][3.1] Remove Scala 2.13 build GitHub Action job from branch-3.1
### What changes were proposed in this pull request? Apache Spark 3.1.x doesn't support Scala 2.13. ### Why are the changes needed? Currently, Scala 2.13 Build GitHub Action job is broken. We had better focus on Apache Spark 3.2.0 because branch-3.1 has old SBT/Scala versions and we don't support Scala 2.13 officially. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? This is a removal from GitHub Action jobs. **BEFORE** <img width="530" alt="Screen Shot 2021-03-21 at 2 29 40 PM" src="https://user-images.githubusercontent.com/9700541/111921457-ec842780-8a51-11eb-80ff-f07f0f103db9.png"> **AFTER** <img width="834" alt="Screen Shot 2021-03-21 at 2 29 10 PM" src="https://user-images.githubusercontent.com/9700541/111921464-f73ebc80-8a51-11eb-81f0-f6751db69911.png"> Closes #31915 from dongjoon-hyun/SPARK-34813. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 8dea9b8 commit d1de69f

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

.github/workflows/build_and_test.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -388,28 +388,6 @@ jobs:
388388
./build/mvn $MAVEN_CLI_OPTS -DskipTests -Pyarn -Pmesos -Pkubernetes -Phive -Phive-thriftserver -Phadoop-cloud -Djava.version=11 install
389389
rm -rf ~/.m2/repository/org/apache/spark
390390
391-
scala-213:
392-
name: Scala 2.13 build with SBT
393-
runs-on: ubuntu-20.04
394-
steps:
395-
- name: Checkout Spark repository
396-
uses: actions/checkout@v2
397-
- name: Cache Coursier local repository
398-
uses: actions/cache@v2
399-
with:
400-
path: ~/.cache/coursier
401-
key: scala-213-coursier-${{ hashFiles('**/pom.xml', '**/plugins.sbt') }}
402-
restore-keys: |
403-
scala-213-coursier-
404-
- name: Install Java 8
405-
uses: actions/setup-java@v1
406-
with:
407-
java-version: 8
408-
- name: Build with SBT
409-
run: |
410-
./dev/change-scala-version.sh 2.13
411-
./build/sbt -Pyarn -Pmesos -Pkubernetes -Phive -Phive-thriftserver -Phadoop-cloud -Pkinesis-asl -Pdocker-integration-tests -Pkubernetes-integration-tests -Pspark-ganglia-lgpl -Pscala-2.13 compile test:compile
412-
413391
hadoop-2:
414392
name: Hadoop 2 build with SBT
415393
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)