Run tests based on labels (#10456)
This commit is contained in:
4
.github/workflows/pr-test-pd-router.yml
vendored
4
.github/workflows/pr-test-pd-router.yml
vendored
@@ -13,6 +13,7 @@ on:
|
||||
- 'python/sglang/srt/disaggregation/**'
|
||||
- 'scripts/ci/ci_start_disaggregation_servers.sh'
|
||||
- 'sgl-router/**'
|
||||
types: [synchronize, labeled]
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
@@ -26,8 +27,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
test-disaggregation:
|
||||
if: (github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
|
||||
github.event.pull_request.draft == false
|
||||
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run-ci')
|
||||
runs-on: [h200]
|
||||
timeout-minutes: 45
|
||||
|
||||
|
||||
Reference in New Issue
Block a user