Skip to content

Commit 025d43d

Browse files
committed
Fix test result summary logic
1 parent 1b6413f commit 025d43d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/summary/summarize_testing.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -759,17 +759,15 @@ def scan_test_results(self,
759759
test_result_files.extend([('csv', os.path.abspath(match))
760760
for match in glob("*.csv")])
761761
count = 0
762-
763-
if not suite_per_file:
764-
suite = TestSuite(suite_name, source)
762+
suite = TestSuite(suite_name, source)
765763

766764
for result_format, result_file in test_result_files:
767765
tests_found = None
768766
if suite_per_file:
769767
suite = TestSuite(
770768
suite_name + "/" + os.path.basename(result_file),
771769
result_file)
772-
tests_found = suite.read_result(result_file, result_format)
770+
tests_found = suite.read_result(result_file, result_format)
773771
if tests_found:
774772
count += 1
775773
if suite_per_file:

0 commit comments

Comments
 (0)