Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Jaime Silvela <[email protected]>
  • Loading branch information
jsilvela committed May 30, 2024
1 parent 2a90703 commit 24c2809
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions summarize_test_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,16 +622,6 @@ def format_thermometer(summary, embed=True, file_out=None):
Otherwise, it will be output as plain text intended for stand-alone use.
"""

if summary["total_run"] == summary["total_failed"]:
if embed:
print(f"## Alerts\n", file=file_out)
print(f"All test combinations failed\n", file=file_out)
else:
print("alerts<<EOF", file=file_out)
print(f"All test combinations failed\n", file=file_out)
print("EOF", file=file_out)
return

output = ""
for metric in ["by_platform"]:
output += compute_thermometer_on_metric(summary, metric, embed)
Expand Down

0 comments on commit 24c2809

Please sign in to comment.