Skip to content

Commit 0340bba

Browse files
committed
fix: look for suite.yaml file
1 parent 29e0a21 commit 0340bba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/utils/files.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func LoadSuitesFromPath(path string) ([]tests.Suite, error) {
6262

6363
filePath := filepath.Join(absPath, file.Name())
6464
// Check if the file is a YAML file
65-
if !file.IsDir() && filepath.Ext(filePath) == ".yaml" {
65+
if !file.IsDir() && file.Name() == "suite.yaml" {
6666
data, err := os.ReadFile(filePath)
6767
if err != nil {
6868
return []tests.Suite{}, fmt.Errorf("failed to read file %s: %v", filePath, err)

0 commit comments

Comments
 (0)