ci: limit Python PR test matrix#5611
Conversation
Run the full Python version matrix only for push and merge queue events. Pull requests keep testing the oldest supported Python version to catch compatibility issues without doubling the CI cost for most PRs. Authored by OpenClaw (model: custom-chat-jinzhezeng-group/gpt-5.5)
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Python version matrix in ChangesCI Python Matrix
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #5611 +/- ##
==========================================
- Coverage 82.41% 82.27% -0.15%
==========================================
Files 903 903
Lines 101846 101845 -1
Branches 4071 4072 +1
==========================================
- Hits 83940 83795 -145
- Misses 16439 16579 +140
- Partials 1467 1471 +4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
Test Pythonpull request matrix to the oldest supported Python version, 3.10Motivation
Most PR failures are expected to be version-independent or caught by the oldest supported Python version. Running the latest Python version on push and merge queue still preserves coverage before code lands, while reducing PR CI load.
Tests
.github/workflows/test_python.ymlwith PyYAMLgit diff --checkAuthored by OpenClaw (model: custom-chat-jinzhezeng-group/gpt-5.5)
Summary by CodeRabbit