|
| 1 | +# Licensed to the Apache Software Foundation (ASF) under one |
| 2 | +# or more contributor license agreements. See the NOTICE file |
| 3 | +# distributed with this work for additional information |
| 4 | +# regarding copyright ownership. The ASF licenses this file |
| 5 | +# to you under the Apache License, Version 2.0 (the |
| 6 | +# "License"); you may not use this file except in compliance |
| 7 | +# with the License. You may obtain a copy of the License at |
| 8 | +# |
| 9 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +# |
| 11 | +# Unless required by applicable law or agreed to in writing, |
| 12 | +# software distributed under the License is distributed on an |
| 13 | +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 14 | +# KIND, either express or implied. See the License for the |
| 15 | +# specific language governing permissions and limitations |
| 16 | +# under the License. |
| 17 | + |
| 18 | +# Runs on every PR and on main. Spark 3.5 is the default supported version. |
| 19 | +name: Spark SQL Tests (Spark 3.5) |
| 20 | + |
| 21 | +concurrency: |
| 22 | + group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }} |
| 23 | + cancel-in-progress: true |
| 24 | + |
| 25 | +on: |
| 26 | + push: |
| 27 | + branches: |
| 28 | + - main |
| 29 | + paths: |
| 30 | + - "native/**/src/**" |
| 31 | + - "native/**/Cargo.toml" |
| 32 | + - "native/Cargo.lock" |
| 33 | + - "!native/hdfs/**" |
| 34 | + - "!native/fs-hdfs/**" |
| 35 | + - "common/src/main/**" |
| 36 | + - "common/pom.xml" |
| 37 | + - "spark/src/main/**" |
| 38 | + - "!spark/src/main/scala/org/apache/comet/GenerateDocs.scala" |
| 39 | + - "spark/pom.xml" |
| 40 | + - "dev/diffs/**" |
| 41 | + - "pom.xml" |
| 42 | + - "rust-toolchain.toml" |
| 43 | + - ".github/workflows/spark_sql_test_3_5.yml" |
| 44 | + - ".github/workflows/spark_sql_test_reusable.yml" |
| 45 | + - ".github/actions/setup-builder/**" |
| 46 | + - ".github/actions/setup-spark-builder/**" |
| 47 | + pull_request: |
| 48 | + paths: |
| 49 | + - "native/**/src/**" |
| 50 | + - "native/**/Cargo.toml" |
| 51 | + - "native/Cargo.lock" |
| 52 | + - "!native/hdfs/**" |
| 53 | + - "!native/fs-hdfs/**" |
| 54 | + - "common/src/main/**" |
| 55 | + - "common/pom.xml" |
| 56 | + - "spark/src/main/**" |
| 57 | + - "!spark/src/main/scala/org/apache/comet/GenerateDocs.scala" |
| 58 | + - "spark/pom.xml" |
| 59 | + - "dev/diffs/**" |
| 60 | + - "pom.xml" |
| 61 | + - "rust-toolchain.toml" |
| 62 | + - ".github/workflows/spark_sql_test_3_5.yml" |
| 63 | + - ".github/workflows/spark_sql_test_reusable.yml" |
| 64 | + - ".github/actions/setup-builder/**" |
| 65 | + - ".github/actions/setup-spark-builder/**" |
| 66 | + workflow_dispatch: |
| 67 | + inputs: |
| 68 | + collect-fallback-logs: |
| 69 | + description: 'Whether to collect Comet fallback reasons from spark sql unit test logs' |
| 70 | + required: false |
| 71 | + default: false |
| 72 | + type: boolean |
| 73 | + |
| 74 | +jobs: |
| 75 | + spark-sql: |
| 76 | + uses: ./.github/workflows/spark_sql_test_reusable.yml |
| 77 | + with: |
| 78 | + spark-short: '3.5' |
| 79 | + spark-full: '3.5.8' |
| 80 | + java: 11 |
| 81 | + collect-fallback-logs: ${{ github.event.inputs.collect-fallback-logs == 'true' }} |
0 commit comments