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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue