Documentation
¶
Overview ¶
split_test_groups discovers every Go module in the repository and emits a CI matrix, one entry per module, so tests can be run in parallel GitHub Actions jobs.
Outputs a JSON object suitable for GitHub Actions fromJson:
{"include": [
{"name":"core", "dir":".", "timeout_minutes":10},
{"name":"postgres", "dir":"./applications/postgres", "timeout_minutes":25},
{"name":"clickhouse", "dir":"./applications/clickhouse", "timeout_minutes":25},
...
]}
Each job changes into its module directory and runs `go test ./...`. The go.work (generated by `make work`) is expected to be present so modules resolve the core and sibling application modules locally without requiring a published core tag.
Click to show internal directories.
Click to hide internal directories.