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

@ -336,11 +336,11 @@ Notes:
## Testing
- runtime `web` image stays lean and may not include `pytest` tooling
- run tests with the development compose stack (or a dedicated test image/profile) where test dependencies are installed
- local example:
- run tests with the development compose stack (or a dedicated test image/profile) and install dev dependencies first
- local example (one-off):
```bash
docker compose -f docker-compose.yml -f docker-compose.dev.yml run --rm web pytest -q
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"
```
## Migration and Superuser Commands