test:alter yml work on
This commit is contained in:
parent
288c94d376
commit
c8a4f56188
|
@ -1,27 +1,17 @@
|
||||||
name: TDengine Taosd & Taosc Coverage
|
name: TDengine Taosd & Taosc Coverage
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- 'test/cover1'
|
|
||||||
- '3.0'
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
specified_source_branch:
|
specified_test_branch:
|
||||||
description: 'Enter the source branch name of TDengine'
|
description: 'Enter the test 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
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
schedule:
|
||||||
|
- cron: '30 00 * * *'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}-${{ github.event.inputs.specified_target_branch }}-${{ github.event.inputs.specified_pr_number }}-TDengine
|
group: ${{ github.workflow }}-${{ github.event.inputs.specified_test_branch || '3.0' }}-TDengine
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
@ -29,10 +19,8 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run-tests-on-linux:
|
run-tests-on-linux:
|
||||||
uses: taosdata/.github/.github/workflows/run-coverage-tests-on-linux.yml@test_coverage
|
uses: taosdata/.github/.github/workflows/run-coverage-tests-on-linux.yml@3.0
|
||||||
if: ${{ github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'}}
|
if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'}}
|
||||||
with:
|
with:
|
||||||
tdinternal: false
|
tdinternal: false
|
||||||
specified_source_branch: ${{ github.event_name == 'pull_request' && 'unavailable' || github.event.inputs.specified_source_branch }}
|
specified_test_branch: ${{ github.event_name == 'schedule' && 'unavailable' || github.event.inputs.specified_test_branch || '3.0' }}
|
||||||
specified_target_branch: ${{ github.event_name == 'pull_request' && 'unavailable' || github.event.inputs.specified_target_branch }}
|
|
||||||
specified_pr_number: ${{ github.event_name == 'pull_request' && 'unavailable' || github.event.inputs.specified_pr_number }}
|
|
||||||
|
|
Loading…
Reference in New Issue