From 025d43d086a3e663184cb49febe86152bf05409f Mon Sep 17 00:00:00 2001 From: "Marc A. Valle" Date: Mon, 2 Dec 2024 11:11:03 -0700 Subject: [PATCH] Fix test result summary logic --- .github/workflows/summary/summarize_testing.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/summary/summarize_testing.py b/.github/workflows/summary/summarize_testing.py index 6db0ea5e..09d7f1ec 100644 --- a/.github/workflows/summary/summarize_testing.py +++ b/.github/workflows/summary/summarize_testing.py @@ -759,9 +759,7 @@ def scan_test_results(self, test_result_files.extend([('csv', os.path.abspath(match)) for match in glob("*.csv")]) count = 0 - - if not suite_per_file: - suite = TestSuite(suite_name, source) + suite = TestSuite(suite_name, source) for result_format, result_file in test_result_files: tests_found = None @@ -769,7 +767,7 @@ def scan_test_results(self, suite = TestSuite( suite_name + "/" + os.path.basename(result_file), result_file) - tests_found = suite.read_result(result_file, result_format) + tests_found = suite.read_result(result_file, result_format) if tests_found: count += 1 if suite_per_file: