mirror of
https://github.com/juanfont/headscale.git
synced 2026-05-05 03:56:10 +02: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
@ -68,6 +68,7 @@ func findTests() []string {
|
||||
args := []string{
|
||||
"--type", "go",
|
||||
"--regexp", "func (Test.+)\\(.*",
|
||||
"--max-depth", "1",
|
||||
"../../integration/",
|
||||
"--replace", "$1",
|
||||
"--sort", "path",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user