chore(ci): add OS check to skip test if not on Linux

Skip test on non-Linux operating systems.

Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
Ettore Di Giacinto
2025-11-21 15:01:04 +01:00
committed by GitHub
parent 0e53ce60b4
commit fa00aa0085

View File

@@ -1199,6 +1199,9 @@ parameters:
Context("Config file", func() {
BeforeEach(func() {
if runtime.GOOS != "linux" {
Skip("run this test only on linux")
}
modelPath := os.Getenv("MODELS_PATH")
backendPath := os.Getenv("BACKENDS_PATH")
c, cancel = context.WithCancel(context.Background())