split_test_groups

command
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL