CI: run the scripts' unit tests (scripts/test_*.py) #1032
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!1032
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1032/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@aarushkha on GitHub · 2026-11-24 10:35 UTC · original
aarushkha:ci-run-script-tests→main· +5 −0 · 1 files · 1 commits · closed without mergingCI ran only
scripts/test.ps1(cargo build and cargo test), so nothing ranscripts/test_pr_check.py: a PR that brokescripts/pr_check.pystill got a greenCI, and thePR checksworkflow runs main's checker, never the PR's. One step now runs everyscripts/test_*.pywith unittest discovery, before the Rust build so it fails in seconds. Fixes #1000.What is in it
.github/workflows/ci.yml: aScript tests (Python)step after checkout,python -B -m unittest discover -s scripts -p 'test_*.py' -vTested
9aec53d, Windows PowerShell 5.1 with Python 3.10 and from bash with Python 3.11: 3 passed, exit 0runtime()inpr_check.pymade to returnFalse: 1 failed, exit 1ci.ymlparsed with PyYAML: the new step is the second of five, itsrunline as abovecargo test --workspace -- --test-threads=4on main9aec53d(this diff touches no Rust): 724 passed, 0 failed, 41 ignored; SKIPPEDgpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware(no wave64)Regression run
crates/xcl/srcchangesNot tested
windows-2025runner (its default shell is PowerShell 7, which I don't have here): this PR's own CI run is that testgit merge-treewith #279 and #287: clean. With #557, #566 and #635: a conflict, because all three add their own step at this same place (and so conflict with each other too). This step already runs their test files (test_triage_d3d12.py,test_pr_check_smoke_counters.py), so whichever lands second can drop its step.AI use
🤖 Generated with Claude Code
@aarushkha on GitHub · 2026-11-24 10:36 UTC · original
Closing as a duplicate: #597 already runs
scripts/test_*.pyin CI, and #1019 was opened for #1000 before this.Pull request closed