ci(xpu): merge stage-a+b into one job and trim main_package scope (#38014)

Co-authored-by: arathi-hlab <arathi-hlab@users.noreply.github.com>
This commit is contained in:
ashwini rathi
2026-09-09 16:26:54 +08:00
committed by GitHub
co-authored by arathi-hlab
parent 1ad3eb09a9
commit 07c7b2674d
2 changed files with 37 additions and 108 deletions
+2 -2
View File
@@ -127,9 +127,9 @@ jobs:
id: parse
run: |
# Parse pr-test-xpu.yml and extract job names (exclude utility jobs)
# Excluded: check-changes, pr-gate, wait-for-stage-a, finish
# Excluded: check-changes, pr-gate, finish
pr_jobs=$(yq -r '.jobs | keys | .[]' .github/workflows/pr-test-xpu.yml | \
grep -v -E '^(check-changes|pr-gate|wait-for-stage-a|finish)$' | \
grep -v -E '^(check-changes|pr-gate|finish)$' | \
jq -R -s -c 'split("\n") | map(select(length > 0))')
echo "pr_jobs=$pr_jobs" >> $GITHUB_OUTPUT
echo "PR jobs: $pr_jobs"