From 1f9635c2ec20b362281daa9c24adcd7e008f765c Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Fri, 10 Apr 2026 12:42:54 +0000 Subject: [PATCH] ci: restrict test generator to .go files The integration test generator scanned all files under integration/ with ripgrep, matching func Test* patterns in README.md code examples (TestMyScenario, TestRouteAdvertisementBasic). Add --type go to limit the search to Go source files. --- .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 c0a3d6aa..b875de62 100644 --- a/.github/workflows/gh-action-integration-generator.go +++ b/.github/workflows/gh-action-integration-generator.go @@ -66,6 +66,7 @@ func findTests() []string { } args := []string{ + "--type", "go", "--regexp", "func (Test.+)\\(.*", "../../integration/", "--replace", "$1",