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:
parent
fd1074160e
commit
1f9635c2ec
@ -66,6 +66,7 @@ func findTests() []string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
args := []string{
|
args := []string{
|
||||||
|
"--type", "go",
|
||||||
"--regexp", "func (Test.+)\\(.*",
|
"--regexp", "func (Test.+)\\(.*",
|
||||||
"../../integration/",
|
"../../integration/",
|
||||||
"--replace", "$1",
|
"--replace", "$1",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user