ci(db): run the Postgres probe and lane on Postgres 14 and 18

TREK supports Postgres 14 to 18, and CI tested 17 only. One server-postgres
job per major now runs the probe and then the lane against the same service,
so the change keeps the job count of the two jobs it replaces. The lane's
global setup refuses a service whose major is not TREK_TEST_PG_MAJOR, and
the image's Postgres boot moves to 18, the major its client tools target.

scripts/ci/workflow-jobs.test.mjs fails when a job other than the scan is
missing from ci-ok's needs, and changed-areas pins that migrations,
repositories, the engine and the lane's files always run the job.
This commit is contained in:
Maurice
2026-11-17 11:47:40 +01:00
parent 3b6d7238fe
commit e4b990b75e
6 changed files with 133 additions and 70 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
* arguments against empty tables, not every statement the code can send: a
* branch that only runs on data the empty tables do not hold stays unseen.
*
* It needs a Postgres server, so CI runs it in the `postgres-probe` job
* It needs a Postgres server, so CI runs it in the `server-postgres` job
* against a service container. Locally:
*
* docker run --rm -d -p 5432:5432 -e POSTGRES_PASSWORD=probe postgres:17