70 lines
2.8 KiB
YAML
70 lines
2.8 KiB
YAML
name: TDengine Test
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- 'main'
|
|
- '3.0'
|
|
- '3.1'
|
|
- '3.3.6'
|
|
paths-ignore:
|
|
- 'packaging/**'
|
|
- 'docs/**'
|
|
- 'tools/tdgpt/**'
|
|
- 'source/libs/executor/src/forecastoperator.c'
|
|
- 'source/libs/executor/src/anomalywindowoperator.c'
|
|
- 'source/dnode/mnode/impl/src/mndAnode.c'
|
|
- 'include/common/tanalytics.h'
|
|
- 'source/common/src/tanalytics.c'
|
|
- 'tests/parallel/tdgpt_cases.task'
|
|
- 'tests/script/tsim/analytics'
|
|
- '**/*.md'
|
|
workflow_dispatch:
|
|
inputs:
|
|
specified_source_branch:
|
|
description: 'Enter the source branch name of TDengine'
|
|
required: true
|
|
type: string
|
|
specified_target_branch:
|
|
description: 'Enter the target branch name of TDengine'
|
|
required: true
|
|
type: string
|
|
specified_pr_number:
|
|
description: 'Enter the PR number of TDengine'
|
|
required: true
|
|
type: string
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event_name }}-
|
|
${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || inputs.specified_target_branch }}-
|
|
${{ github.event_name == 'pull_request' && github.event.pull_request.number || inputs.specified_pr_number }}-TDengine
|
|
cancel-in-progress: true
|
|
|
|
env:
|
|
WKC: '/var/lib/jenkins/workspace/TDinternal/community'
|
|
|
|
jobs:
|
|
run-tests-on-linux:
|
|
uses: taosdata/.github/.github/workflows/run-tests-on-linux.yml@main
|
|
with:
|
|
tdinternal: false
|
|
specified_source_branch: ${{ github.event_name == 'pull_request' && 'unavailable' || inputs.specified_source_branch }}
|
|
specified_target_branch: ${{ github.event_name == 'pull_request' && 'unavailable' || inputs.specified_target_branch }}
|
|
specified_pr_number: ${{ github.event_name == 'pull_request' && 'unavailable' || inputs.specified_pr_number }}
|
|
|
|
run-tests-on-mac:
|
|
uses: taosdata/.github/.github/workflows/run-tests-on-macos.yml@main
|
|
with:
|
|
tdinternal: false
|
|
specified_source_branch: ${{ github.event_name == 'pull_request' && 'unavailable' || inputs.specified_source_branch }}
|
|
specified_target_branch: ${{ github.event_name == 'pull_request' && 'unavailable' || inputs.specified_target_branch }}
|
|
specified_pr_number: ${{ github.event_name == 'pull_request' && 'unavailable' || inputs.specified_pr_number }}
|
|
|
|
run-tests-on-windows:
|
|
uses: taosdata/.github/.github/workflows/run-tests-on-windows.yml@main
|
|
with:
|
|
tdinternal: false
|
|
specified_source_branch: ${{ github.event_name == 'pull_request' && 'unavailable' || inputs.specified_source_branch }}
|
|
specified_target_branch: ${{ github.event_name == 'pull_request' && 'unavailable' || inputs.specified_target_branch }}
|
|
specified_pr_number: ${{ github.event_name == 'pull_request' && 'unavailable' || inputs.specified_pr_number }}
|