Skip to content

Commit 4ee0082

Browse files
authored
Treat 'no test run' as success (#7036)
1 parent 006fe83 commit 4ee0082

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/scripts/tests/generate-summary.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def write_summary(summary: TestSummary):
263263
fp = sys.stdout
264264

265265
if summary.is_empty:
266-
fp.write(f":red_circle: Test run completed, no test results found. Please check ya make output.")
266+
fp.write(f"Test run completed, no test results found")
267267
else:
268268
for line in summary.render(add_footnote=True):
269269
fp.write(f"{line}\n")
@@ -363,7 +363,7 @@ def main():
363363
summary = gen_summary(args.public_dir, args.public_dir_url, title_path, is_retry=bool(args.is_retry))
364364
write_summary(summary)
365365

366-
if summary.is_empty | summary.is_failed:
366+
if summary.is_failed:
367367
color = 'red'
368368
overall_status = "failure"
369369
else:

0 commit comments

Comments
 (0)