You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2021/07/27 07:50:47 UTC
[spark] branch branch-3.2 updated: [SPARK-36285][INFRA][TESTS] Skip
MiMa in PySpark/SparkR/Docker GHA job
This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch branch-3.2
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.2 by this push:
new dfa5c4d [SPARK-36285][INFRA][TESTS] Skip MiMa in PySpark/SparkR/Docker GHA job
dfa5c4d is described below
commit dfa5c4dadc4329e2726c344211bf18b4bdcf4a9b
Author: William Hyun <wi...@apache.org>
AuthorDate: Tue Jul 27 16:47:59 2021 +0900
[SPARK-36285][INFRA][TESTS] Skip MiMa in PySpark/SparkR/Docker GHA job
This PR aims to skip MiMa in PySpark/SparkR/Docker GHA job.
This will save GHA resource because MiMa is irrelevant to Python.
No.
Pass the GHA.
Closes #33532 from williamhyun/mima.
Lead-authored-by: William Hyun <wi...@apache.org>
Co-authored-by: Dongjoon Hyun <do...@apache.org>
Signed-off-by: Hyukjin Kwon <gu...@apache.org>
(cherry picked from commit 674202e7b6d640ff7d9ee1787ef4e8b3ed822207)
Signed-off-by: Hyukjin Kwon <gu...@apache.org>
---
.github/workflows/build_and_test.yml | 3 +++
dev/run-tests.py | 3 ++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml
index 73a45df..cfc20ac 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -169,6 +169,7 @@ jobs:
GITHUB_PREV_SHA: ${{ github.event.before }}
SPARK_LOCAL_IP: localhost
SKIP_UNIDOC: true
+ SKIP_MIMA: true
METASPACE_SIZE: 128m
steps:
- name: Checkout Spark repository
@@ -251,6 +252,7 @@ jobs:
HIVE_PROFILE: hive2.3
GITHUB_PREV_SHA: ${{ github.event.before }}
SPARK_LOCAL_IP: localhost
+ SKIP_MIMA: true
steps:
- name: Checkout Spark repository
uses: actions/checkout@v2
@@ -622,6 +624,7 @@ jobs:
GITHUB_PREV_SHA: ${{ github.event.before }}
SPARK_LOCAL_IP: localhost
ORACLE_DOCKER_IMAGE_NAME: oracle/database:18.4.0-xe
+ SKIP_MIMA: true
steps:
- name: Checkout Spark repository
uses: actions/checkout@v2
diff --git a/dev/run-tests.py b/dev/run-tests.py
index 59e891c..507846a 100755
--- a/dev/run-tests.py
+++ b/dev/run-tests.py
@@ -804,7 +804,8 @@ def main():
# backwards compatibility checks
if build_tool == "sbt":
# Note: compatibility tests only supported in sbt for now
- detect_binary_inop_with_mima(extra_profiles)
+ if not os.environ.get("SKIP_MIMA"):
+ detect_binary_inop_with_mima(extra_profiles)
# Since we did not build assembly/package before running dev/mima, we need to
# do it here because the tests still rely on it; see SPARK-13294 for details.
build_spark_assembly_sbt(extra_profiles, should_run_java_style_checks)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org