ci: run jit-kernel tests on scheduled full runs (#30306)
This commit is contained in:
@@ -225,18 +225,22 @@ jobs:
|
||||
|
||||
call-jit-kernel-tests:
|
||||
needs: [check-changes, call-gate, sgl-kernel-build-wheels]
|
||||
# Run on scheduled/parallel-dispatch runs (same pattern as the base-* stages) so the
|
||||
# jit_kernel suite is exercised on main 3x daily, not only on PRs that touch jit_kernel/**.
|
||||
# check-changes already forces jit_kernel='true' on scheduled runs (run_all_tests).
|
||||
if: |
|
||||
always() &&
|
||||
!failure() && !cancelled() &&
|
||||
github.event_name != 'schedule' &&
|
||||
inputs.test_parallel_dispatch != true &&
|
||||
((github.event_name == 'schedule' || inputs.test_parallel_dispatch == true) || (!failure() && !cancelled())) &&
|
||||
needs.check-changes.outputs.jit_kernel == 'true'
|
||||
uses: ./.github/workflows/pr-test-jit-kernel.yml
|
||||
with:
|
||||
runner_config: 4-gpu-b200
|
||||
runs_on_map: ${{ needs.check-changes.outputs.runs_on_map }}
|
||||
jit_kernel: ${{ needs.check-changes.outputs.jit_kernel }}
|
||||
sgl_kernel: ${{ needs.check-changes.outputs.sgl_kernel }}
|
||||
# On scheduled/parallel-dispatch runs sgl-kernel-build-wheels is skipped, so the wheel
|
||||
# artifact does not exist. Force sgl_kernel='false' there so the jit-kernel jobs skip the
|
||||
# wheel download and run against the released/pinned sgl-kernel instead of a fresh build.
|
||||
sgl_kernel: ${{ (github.event_name == 'schedule' || inputs.test_parallel_dispatch == true) && 'false' || needs.check-changes.outputs.sgl_kernel }}
|
||||
git_ref: ${{ inputs.git_ref || '' }}
|
||||
test_parallel_dispatch: ${{ inputs.test_parallel_dispatch == true && 'true' || 'false' }}
|
||||
skip_pr_test_health_check: ${{ inputs.skip_pr_test_health_check == true }}
|
||||
|
||||
Reference in New Issue
Block a user