2023-01-13 04:16:58 -05:00
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
|
|
# this work for additional information regarding copyright ownership.
|
|
|
|
# The ASF licenses this file to You under the Apache License, Version 2.0
|
|
|
|
# (the "License"); you may not use this file except in compliance with
|
|
|
|
# the License. You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
2023-02-01 06:31:29 -05:00
|
|
|
# limitations under the License
|
2023-01-13 04:16:58 -05:00
|
|
|
|
|
|
|
on:
|
2023-02-01 06:31:29 -05:00
|
|
|
workflow_call:
|
|
|
|
inputs:
|
|
|
|
jdk:
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
description: 'JDK version used to test Druid'
|
|
|
|
sql_compatibility:
|
|
|
|
required: false
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
description: 'For SQL compatibility'
|
2023-01-13 04:16:58 -05:00
|
|
|
|
|
|
|
jobs:
|
2023-02-01 06:31:29 -05:00
|
|
|
indexing_modules_test:
|
2023-02-03 23:11:17 -05:00
|
|
|
uses: ./.github/workflows/reusable-unit-tests.yml
|
2023-02-01 06:31:29 -05:00
|
|
|
with:
|
|
|
|
jdk: ${{ inputs.jdk }}
|
|
|
|
sql_compatibility: ${{ inputs.sql_compatibility }}
|
|
|
|
module: indexing
|
|
|
|
maven_projects: 'indexing-hadoop,indexing-service,extensions-core/kafka-indexing-service,extensions-core/kinesis-indexing-service'
|
|
|
|
|
|
|
|
processing_modules_test:
|
2023-02-03 23:11:17 -05:00
|
|
|
uses: ./.github/workflows/reusable-unit-tests.yml
|
2023-02-01 06:31:29 -05:00
|
|
|
with:
|
|
|
|
jdk: ${{ inputs.jdk }}
|
|
|
|
sql_compatibility: ${{ inputs.sql_compatibility }}
|
|
|
|
module: processing
|
|
|
|
maven_projects: 'processing'
|
|
|
|
|
|
|
|
server_modules_test:
|
2023-02-03 23:11:17 -05:00
|
|
|
uses: ./.github/workflows/reusable-unit-tests.yml
|
2023-02-01 06:31:29 -05:00
|
|
|
with:
|
|
|
|
jdk: ${{ inputs.jdk }}
|
|
|
|
sql_compatibility: ${{ inputs.sql_compatibility }}
|
|
|
|
module: server
|
|
|
|
maven_projects: 'server'
|
|
|
|
|
|
|
|
other_modules_test:
|
2023-02-03 23:11:17 -05:00
|
|
|
uses: ./.github/workflows/reusable-unit-tests.yml
|
2023-02-01 06:31:29 -05:00
|
|
|
with:
|
|
|
|
jdk: ${{ inputs.jdk }}
|
|
|
|
sql_compatibility: ${{ inputs.sql_compatibility }}
|
|
|
|
module: other
|
|
|
|
maven_projects: '!processing,!indexing-hadoop,!indexing-service,!extensions-core/kafka-indexing-service,!extensions-core/kinesis-indexing-service,!server,!web-console,!integration-tests,!:druid-it-tools,!:druid-it-image,!:druid-it-cases'
|