Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #365 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 12 12
Lines 1701 1701
Branches 213 213
=========================================
Hits 1701 1701
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
Updates contributor/agent documentation in AGENTS.md to better reflect existing local-testing workflows (Make targets and scripts/test-local.sh options) used across Cachier’s multi-backend test matrix.
Changes:
- Document additional
maketargets (test-mongo-inmemory,test-mongo-also-local,services-logs). - Document
scripts/test-local.shparallel options (-p/--parallel,-w/--workers) andCACHIER_TEST_CORESenv var usage.
You can also share your feedback on Copilot code review. Take the survey.
| - `make test-mongo-local` - Test MongoDB only | ||
| - `make test-mongo-inmemory` - Test MongoDB marker set with local/in-memory setup | ||
| - `make test-mongo-also-local` - Test MongoDB together with local core tests |
| - `-p, --parallel` - Run tests with `pytest-xdist` | ||
| - `-w, --workers` - Set number of parallel workers (default: `auto`) | ||
|
|
||
| **Note:** External backends (MongoDB, Redis, SQL) require Docker. S3, memory, and pickle backends work without Docker. |
Summary
Makefilescripts/test-local.shCACHIER_TEST_CORESenvironment-variable workflow exampleWhy
Keep
AGENTS.mdaligned with actual repo workflows/commands so automation and contributors use the same entry points.Changes
make test-mongo-inmemorymake test-mongo-also-localmake services-logs-p/--paralleland-w/--workersoptionsCACHIER_TEST_CORES="mongo redis" ./scripts/test-local.shexample