test(v2-ingestion): harden public-source schema contract and docs
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user