Repository navigation
docs: run only the tests covering your change, leave suites to CI - #37528
Merged
mateo-berri merged 4 commits intoAug 19, 2026
Merged
mateo-berri merged 4 commits into
mateo-berri merged 4 commits into
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Contributor
Greptile SummaryThis documentation-only PR changes contributor guidance to recommend running only the test files covering a change locally while leaving full suites to CI.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| .github/pull_request_template.md | Updates the pre-submission checklist to distinguish focused local tests from full CI suites. |
| CONTRIBUTING.md | Reorients contributor testing instructions toward change-specific test files while retaining full-environment setup guidance for broader suites. |
Reviews (3): Last reviewed commit: "chore: make it concise" | Re-trigger Greptile
Contributor
ryan-crabbe-berri
approved these changes
Aug 19, 2026
…tes to CI Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Contributor
4 of 6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TLDR
Problem this solves:
make test-unitruns all oftests/test_litellm, an hour plus locallyHow it solves it:
User Flow
Before: a contributor about to open a PR
make test-unit" as a required check, so they runpytest tests/test_litellm -x -vv -n 4and wait an hour on tests unrelated to their changeAfter: the same contributor runs only what their change touches
uv run pytest tests/test_litellm/<your_test_file>.py -v, noting CI runs the full unit test matrixmake test-unit-*,make test-unit) belong to CI at ~15 minutes versus an hour or more on a laptop, with a link to CONTRIBUTING for the restRelevant issues
Linear ticket
Pre-Submission checklist
Docs-only change, so no tests apply
Screenshots / Proof of Fix
Docs-only change with no runtime behavior, so there is nothing to run against a live proxy. The rendered result is the diff itself
Type
📖 Documentation
Caveats (if any)
Final Attestation
Link to Devin session: https://app.devin.ai/sessions/ccaba15ac1e54379a25919909f6aa7d7
Requested by: @mateo-berri