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.
This commit is contained in:
Kristoffer Dalby
2026-04-10 12:42:54 +00:00
parent fd1074160e
commit 1f9635c2ec

View File

@@ -66,6 +66,7 @@ func findTests() []string {
}
args := []string{
"--type", "go",
"--regexp", "func (Test.+)\\(.*",
"../../integration/",
"--replace", "$1",