test(v2-ingestion): harden public-source schema contract and docs

This commit is contained in:
Alfredo Di Stasio
2026-03-20 15:50:59 +01:00
parent 48a82e812a
commit 3f811827de
6 changed files with 131 additions and 29 deletions

View File

@ -63,6 +63,15 @@ git checkout -b feature/your-feature-name
3. Implement with focused commits and tests.
4. Open PR: `feature/*` -> `develop`.
## Running Tests (v2)
Runtime images are intentionally lean and may not ship `pytest`.
Use the development compose stack and install dev dependencies before running tests:
```bash
docker compose -f docker-compose.yml -f docker-compose.dev.yml run --rm web sh -lc "export PYTHONUSERBASE=/tmp/pyuser && python -m pip install --user -r requirements/dev.txt && python -m pytest -q"
```
## PR Checklist
- [ ] Target branch is correct