From 3d98bd5edf087ae7970b796e308937dc383d91a9 Mon Sep 17 00:00:00 2001 From: Douglas Yang Date: Thu, 11 Dec 2025 16:26:21 -0800 Subject: [PATCH] ci: adding more nightly tests to bot bump workflows (#14928) --- .../bot-bump-kernel-version-to-sglang.yml | 34 ++++++++++++++++++- .github/workflows/bot-bump-sglang-version.yml | 30 +++++++++++++++- .github/workflows/nightly-test-amd.yml | 12 +++++++ .github/workflows/nightly-test-npu.yml | 12 +++++++ .github/workflows/pr-test-xeon.yml | 12 +++++++ .github/workflows/pr-test-xpu.yml | 12 +++++++ 6 files changed, 110 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bot-bump-kernel-version-to-sglang.yml b/.github/workflows/bot-bump-kernel-version-to-sglang.yml index 1621c9241..817889846 100644 --- a/.github/workflows/bot-bump-kernel-version-to-sglang.yml +++ b/.github/workflows/bot-bump-kernel-version-to-sglang.yml @@ -59,10 +59,42 @@ jobs: run: | bash scripts/release/commit_and_pr_kernel_to_sglang.sh "$KERNEL_VERSION" "$BRANCH_NAME" - run-nightly-tests: + run-nightly-tests-nvidia: needs: bump-kernel-version-to-sglang if: needs.bump-kernel-version-to-sglang.outputs.needs_sync == 'true' uses: ./.github/workflows/nightly-test-nvidia.yml with: ref: ${{ needs.bump-kernel-version-to-sglang.outputs.branch_name }} secrets: inherit + + run-nightly-tests-amd: + needs: bump-kernel-version-to-sglang + if: needs.bump-kernel-version-to-sglang.outputs.needs_sync == 'true' + uses: ./.github/workflows/nightly-test-amd.yml + with: + ref: ${{ needs.bump-kernel-version-to-sglang.outputs.branch_name }} + secrets: inherit + + run-nightly-tests-npu: + needs: bump-kernel-version-to-sglang + if: needs.bump-kernel-version-to-sglang.outputs.needs_sync == 'true' + uses: ./.github/workflows/nightly-test-npu.yml + with: + ref: ${{ needs.bump-kernel-version-to-sglang.outputs.branch_name }} + secrets: inherit + + run-pr-tests-xeon: + needs: bump-kernel-version-to-sglang + if: needs.bump-kernel-version-to-sglang.outputs.needs_sync == 'true' + uses: ./.github/workflows/pr-test-xeon.yml + with: + ref: ${{ needs.bump-kernel-version-to-sglang.outputs.branch_name }} + secrets: inherit + + run-pr-tests-xpu: + needs: bump-kernel-version-to-sglang + if: needs.bump-kernel-version-to-sglang.outputs.needs_sync == 'true' + uses: ./.github/workflows/pr-test-xpu.yml + with: + ref: ${{ needs.bump-kernel-version-to-sglang.outputs.branch_name }} + secrets: inherit diff --git a/.github/workflows/bot-bump-sglang-version.yml b/.github/workflows/bot-bump-sglang-version.yml index cbfd8e761..e0a8041e7 100644 --- a/.github/workflows/bot-bump-sglang-version.yml +++ b/.github/workflows/bot-bump-sglang-version.yml @@ -53,9 +53,37 @@ jobs: run: | bash scripts/release/commit_and_pr.sh "SGLang" "${{ github.event.inputs.new_version }}" "$BRANCH_NAME" - run-nightly-tests: + run-nightly-tests-nvidia: needs: bump-sglang-version uses: ./.github/workflows/nightly-test-nvidia.yml with: ref: ${{ needs.bump-sglang-version.outputs.branch_name }} secrets: inherit + + run-nightly-tests-amd: + needs: bump-sglang-version + uses: ./.github/workflows/nightly-test-amd.yml + with: + ref: ${{ needs.bump-sglang-version.outputs.branch_name }} + secrets: inherit + + run-nightly-tests-npu: + needs: bump-sglang-version + uses: ./.github/workflows/nightly-test-npu.yml + with: + ref: ${{ needs.bump-sglang-version.outputs.branch_name }} + secrets: inherit + + run-pr-tests-xeon: + needs: bump-sglang-version + uses: ./.github/workflows/pr-test-xeon.yml + with: + ref: ${{ needs.bump-sglang-version.outputs.branch_name }} + secrets: inherit + + run-pr-tests-xpu: + needs: bump-sglang-version + uses: ./.github/workflows/pr-test-xpu.yml + with: + ref: ${{ needs.bump-sglang-version.outputs.branch_name }} + secrets: inherit diff --git a/.github/workflows/nightly-test-amd.yml b/.github/workflows/nightly-test-amd.yml index b00f79e50..7e8b7ff4b 100644 --- a/.github/workflows/nightly-test-amd.yml +++ b/.github/workflows/nightly-test-amd.yml @@ -9,6 +9,18 @@ on: paths: - "python/sglang/version.py" workflow_dispatch: + workflow_call: + inputs: + ref: + description: 'Git ref (branch, tag, or SHA) to test. If not provided, uses the default branch.' + required: false + type: string + default: '' + job_filter: + description: 'Select which job to run (leave empty or "all" to run all jobs)' + required: false + type: string + default: 'all' concurrency: group: nightly-test-amd-${{ github.ref }} diff --git a/.github/workflows/nightly-test-npu.yml b/.github/workflows/nightly-test-npu.yml index cf72e88ea..fa72283aa 100644 --- a/.github/workflows/nightly-test-npu.yml +++ b/.github/workflows/nightly-test-npu.yml @@ -9,6 +9,18 @@ on: paths: - ".github/workflows/nightly-test-npu.yml" workflow_dispatch: + workflow_call: + inputs: + ref: + description: 'Git ref (branch, tag, or SHA) to test. If not provided, uses the default branch.' + required: false + type: string + default: '' + job_filter: + description: 'Select which job to run (leave empty or "all" to run all jobs)' + required: false + type: string + default: 'all' concurrency: group: nightly-test-npu-${{ github.ref }} diff --git a/.github/workflows/pr-test-xeon.yml b/.github/workflows/pr-test-xeon.yml index 4eb335a2f..5938c3393 100644 --- a/.github/workflows/pr-test-xeon.yml +++ b/.github/workflows/pr-test-xeon.yml @@ -6,6 +6,18 @@ on: pull_request: branches: [ main ] workflow_dispatch: + workflow_call: + inputs: + ref: + description: 'Git ref (branch, tag, or SHA) to test. If not provided, uses the default branch.' + required: false + type: string + default: '' + job_filter: + description: 'Select which job to run (leave empty or "all" to run all jobs)' + required: false + type: string + default: 'all' concurrency: group: pr-test-xeon-${{ github.ref }} diff --git a/.github/workflows/pr-test-xpu.yml b/.github/workflows/pr-test-xpu.yml index 66f447edd..11626b451 100644 --- a/.github/workflows/pr-test-xpu.yml +++ b/.github/workflows/pr-test-xpu.yml @@ -6,6 +6,18 @@ on: pull_request: branches: [ main ] workflow_dispatch: + workflow_call: + inputs: + ref: + description: 'Git ref (branch, tag, or SHA) to test. If not provided, uses the default branch.' + required: false + type: string + default: '' + job_filter: + description: 'Select which job to run (leave empty or "all" to run all jobs)' + required: false + type: string + default: 'all' concurrency: group: pr-test-xpu-${{ github.ref }}