integration: skip subpackage tests in workflow generator
The generator scans `integration/` recursively for `Test*` functions and emits one CI job per match. Helper subpackages like `dockertestutil` and `tsic` host plain unit tests that should run under `go test`, not as Docker-based integration matrix entries. Limit the scan to depth 1 so only top-level `integration/*_test.go` files contribute job names.
This commit is contained in:
parent
155e42f892
commit
d1443a431c
@ -68,6 +68,7 @@ func findTests() []string {
|
|||||||
args := []string{
|
args := []string{
|
||||||
"--type", "go",
|
"--type", "go",
|
||||||
"--regexp", "func (Test.+)\\(.*",
|
"--regexp", "func (Test.+)\\(.*",
|
||||||
|
"--max-depth", "1",
|
||||||
"../../integration/",
|
"../../integration/",
|
||||||
"--replace", "$1",
|
"--replace", "$1",
|
||||||
"--sort", "path",
|
"--sort", "path",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user