mirror of
https://github.com/juanfont/headscale.git
synced 2026-07-18 00:45:06 +00:00
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.
This commit is contained in:
parent
155e42f892
commit
d1443a431c
1 changed files with 1 additions and 0 deletions
|
|
@ -68,6 +68,7 @@ func findTests() []string {
|
|||
args := []string{
|
||||
"--type", "go",
|
||||
"--regexp", "func (Test.+)\\(.*",
|
||||
"--max-depth", "1",
|
||||
"../../integration/",
|
||||
"--replace", "$1",
|
||||
"--sort", "path",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue