From d1443a431cdcb4cfb160bc653eceaf0480aa1415 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Thu, 30 Apr 2026 08:22:59 +0000 Subject: [PATCH] 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. --- .github/workflows/gh-action-integration-generator.go | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/gh-action-integration-generator.go b/.github/workflows/gh-action-integration-generator.go index b875de62..3c1e25ca 100644 --- a/.github/workflows/gh-action-integration-generator.go +++ b/.github/workflows/gh-action-integration-generator.go @@ -68,6 +68,7 @@ func findTests() []string { args := []string{ "--type", "go", "--regexp", "func (Test.+)\\(.*", + "--max-depth", "1", "../../integration/", "--replace", "$1", "--sort", "path",