Skip to content

Conversation

DiweiSun
Copy link
Contributor

@DiweiSun DiweiSun commented Sep 10, 2025

Summary
This PR aims to optimize the CI pipeline by aligning the testing workflow with the sglang main repository. The key change is to adopt run_suite.py as the central script for managing test scope, replacing ad-hoc test selection logic. This improves consistency, maintainability, and scalability of CI across platforms.

Motivation
By aligning with the sglang main repo’s practice of using run_suite.py, we can:

✅ Centralize test suite definitions.
✅ Enable dynamic and reusable test scope management.
✅ Simplify future additions (e.g., new platforms(BMG, CRI), test categories).

python run_suite.py --suite per-commit

Key Changes:

  • Add run_suite.py (synced from sglang main or adapted).
  • Modify .github/workflows/ci.yml to use run_suite.py for test selection.
  • Deprecate inline test lists and manual pytest command construction.

@DiweiSun
Copy link
Contributor Author

@mingfeima, can you please kindly help to review the PR to refine kernel ci pipeline?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant