From 725fc6754cc68493569f59216cf6b484237701c0 Mon Sep 17 00:00:00 2001 From: Mateusz Bloch Date: Mon, 7 Aug 2023 13:22:20 +0200 Subject: [PATCH] trunner: run tests alphabetically JIRA CI-310 --- trunner/test_runner.py | 3 +++ 1 file changed, 3 insertions(+) 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