mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-28 07:30:04 +00:00
ci(postgres): run the Postgres lane in three slices per major
Since the lane runs every suite that boots the app it takes about ten minutes on Postgres 18 and about 25 on 14, past the job's 20 minute timeout. Each major now runs it in three slices (--shard=i/3), each on its own runner and service with its own template; the probe and its artifact stay once per major, in the first slice. ci-ok still needs server-postgres, whose result is failure when any slice fails or is cancelled, so every slice is required.
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -18,8 +18,8 @@ import { defineConfig } from 'vitest/config';
|
||||
* instead of the real database module.
|
||||
*
|
||||
* CI runs the lane once per supported Postgres major (the server-postgres job
|
||||
* in test.yml). `--shard=i/n` slices it like the SQLite suite once it outgrows
|
||||
* one runner; every slice builds its own template in global setup.
|
||||
* in test.yml), each in three slices (`--shard=i/3`) like the SQLite suite;
|
||||
* every slice builds its own template in global setup.
|
||||
*/
|
||||
export default defineConfig({
|
||||
...base,
|
||||
|
||||
Reference in New Issue
Block a user