diff --git a/trunner/test_runner.py b/trunner/test_runner.py index 153d96536..e15ae526d 100644 --- a/trunner/test_runner.py +++ b/trunner/test_runner.py @@ -123,10 +123,13 @@ def parse_tests(self) -> Sequence[TestOptions]: """Returns test options that can be used to build test harness.""" test_yamls = self.search_for_tests() + test_yamls.sort() parser = ConfigParser(self.ctx) tests = [] for path in test_yamls: + if ".git" in str(path): + continue tests.extend(parser.parse(path)) return tests