Skip to content

Commit

Permalink
trunner: run tests alphabetically
Browse files Browse the repository at this point in the history
JIRA CI-310
  • Loading branch information
mateusz-bloch committed Aug 7, 2023
1 parent 0cb61c4 commit 725fc67
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions trunner/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 725fc67

Please sign in to comment.