Skip to content

Commit 3674121

Browse files
committed
fix: Don't try to parse non-yml files in job_test directory
1 parent 98b03ff commit 3674121

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/kiba/extend/job_test/suite_runner.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def results = @results ||= run_tests
3434
attr_reader :dir
3535

3636
def tests_by_job = Dir.children(dir)
37+
.select { |f| f.end_with?(".yml") }
3738
.map { |f| ConfigFilePrepper.new(File.join(dir, f)).call }
3839
.flatten
3940
.group_by { |config| config[:job] }

0 commit comments

Comments
 (0)