name: TDengine Test on: pull_request: branches: - '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' - '**/*.md' - '.github/workflows/**' - '!.github/workflows/tdengine-test.yml' - 'test/ci/tdgpt_cases.task' - 'test/cases/41-TDgpt/**' 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: # NOTE: using tomchon-patch-3 branch for the moment uses: taosdata/.github/.github/workflows/run-tests-on-linux.yml@main #uses: taosdata/.github/.github/workflows/run-tests-on-linux.yml@enh/remove-return-tests 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: if: ${{ github.event.pull_request.base.ref == '3.3.6' }} uses: taosdata/.github/.github/workflows/run-tests-on-windows.yml@main # NOTE: temporarily use tomchon-patch-3 branch 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 }}