Files
stack/tests/conftest.py
kert f0cc1b3d29
Some checks failed
CI / lint (push) Failing after 29s
CI / test (push) Has been skipped
Deploy / notebooks (push) Has been skipped
Deploy / zotero (push) Has been skipped
Deploy / docs (push) Has been skipped
Deploy / api (push) Has been skipped
Deploy / mc (push) Has been skipped
Deploy / restart (push) Successful in 32s
ci: modular actions + test speedup
CI overhaul:
- Split lint (fast, every push) from test (needs lint first)
- Drop 13-job skinny-install matrix — redundant with full test suite
- Add session-scoped zotero_db fixture: create_db() once per session
  instead of ~200 times, saves ~30min cumulative

Deploy overhaul:
- Split monolithic build-scan-report into 5 independent per-image jobs
- Each job has path filters: only builds when relevant files change
  - notebooks: notebooks/, infra/images/notebooks.Dockerfile
  - zotero: infra/images/zotero.Dockerfile, data/zotero/
  - docs: infra/images/docs.Dockerfile, src/, docs/
  - api: infra/images/api.Dockerfile, src/api/
  - mc: infra/images/mc.Dockerfile, infra/rustfs/
- Python-only change no longer rebuilds all 5 Docker images
- Each image: build → trivy scan → push (parallel, independent)

Net effect: Python commit goes from ~50min (test + 5 image builds +
13 skinny-installs) to ~20min (lint + test only). Dockerfile commit
triggers only the affected image (~5min).
2026-04-18 20:10:05 -04:00

26 KiB