mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
ci: run E2E only on nightly schedule, skip E2E on PR/push/manual CI, keep manual e2e workflow for on-demand runs, and align matrix/docs accordingly
This commit is contained in:
+1
-1
@@ -383,7 +383,7 @@ For the full release runbook, see [`docs/RELEASE_PROCESS.md`](docs/RELEASE_PROCE
|
||||
|
||||
### E2E in CI
|
||||
|
||||
E2E suites are dispatched automatically based on which files changed. On nightly builds and manual dispatches, all suites run. Each suite runs in its own job with a dedicated PostgreSQL service container.
|
||||
E2E suites run only on nightly scheduled CI builds. Each suite runs in its own job with a dedicated PostgreSQL service container. For on-demand E2E runs, use the manual `.github/workflows/e2e.yml` workflow.
|
||||
|
||||
### Reading CI Failures
|
||||
|
||||
|
||||
+2
-3
@@ -313,9 +313,8 @@ report artifacts are retained for 7 days.
|
||||
|
||||
E2E suites are selected by `scripts/e2e/select-matrix.mjs`:
|
||||
|
||||
- **Pull request:** The smoke suite (`guard-mechanics`) always runs. Full-lane suites run only
|
||||
when their `changedPaths` match the PR diff.
|
||||
- **Push to main / nightly / manual dispatch:** All 18 suites run.
|
||||
- **Nightly schedule (`CI`):** All 18 suites run.
|
||||
- **Pull request / push to main / manual `CI` dispatch:** E2E is skipped in `.github/workflows/ci.yml`.
|
||||
|
||||
Each selected suite runs as its own GitHub Actions job via the reusable
|
||||
`.github/workflows/e2e-runner.yml` workflow, which spins up a PostgreSQL 16 + pgvector service
|
||||
|
||||
Reference in New Issue
Block a user