dongjoon-hyun commented on code in PR #45551:
URL: https://github.com/apache/spark/pull/45551#discussion_r1527751510
##########
.github/workflows/build_and_test.yml:
##########
@@ -801,53 +803,53 @@ jobs:
- java: 21
os: ubuntu-latest
- java: 21
- os: macos-14
+ os: macos-14
runs-on: ${{ matrix.os }}
timeout-minutes: 300
steps:
- - name: Checkout Spark repository
- uses: actions/checkout@v4
- with:
- fetch-depth: 0
- repository: apache/spark
- ref: ${{ inputs.branch }}
- - name: Sync the current branch with the latest in Apache Spark
- if: github.repository != 'apache/spark'
- run: |
- git fetch https://github.com/$GITHUB_REPOSITORY.git
${GITHUB_REF#refs/heads/}
- git -c user.name='Apache Spark Test Account' -c
user.email='[email protected]' merge --no-commit --progress --squash
FETCH_HEAD
- git -c user.name='Apache Spark Test Account' -c
user.email='[email protected]' commit -m "Merged commit" --allow-empty
- - name: Cache Scala, SBT and Maven
- uses: actions/cache@v4
- with:
- path: |
- build/apache-maven-*
- build/scala-*
- build/*.jar
- ~/.sbt
- key: build-${{ hashFiles('**/pom.xml', 'project/build.properties',
'build/mvn', 'build/sbt', 'build/sbt-launch-lib.bash',
'build/spark-build-info') }}
- restore-keys: |
- build-
- - name: Cache Maven local repository
- uses: actions/cache@v4
- with:
- path: ~/.m2/repository
- key: java${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }}
- restore-keys: |
- java${{ matrix.java }}-maven-
- - name: Install Java ${{ matrix.java }}
- uses: actions/setup-java@v4
- with:
- distribution: zulu
- java-version: ${{ matrix.java }}
- - name: Build with Maven
- run: |
- export MAVEN_OPTS="-Xss64m -Xmx2g -XX:ReservedCodeCacheSize=1g
-Dorg.slf4j.simpleLogger.defaultLogLevel=WARN"
- export MAVEN_CLI_OPTS="--no-transfer-progress"
- export JAVA_VERSION=${{ matrix.java }}
- # It uses Maven's 'install' intentionally, see
https://github.com/apache/spark/pull/26414.
- ./build/mvn $MAVEN_CLI_OPTS -DskipTests -Pyarn -Pkubernetes -Pvolcano
-Phive -Phive-thriftserver -Phadoop-cloud -Djava.version=${JAVA_VERSION/-ea}
install
- rm -rf ~/.m2/repository/org/apache/spark
+ - name: Checkout Spark repository
Review Comment:
NVM. This is an outdated comment about the previous commit.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]