chore(ci): skip regression operation with invalid data point

This commit is contained in:
David Testé
2025-10-28 14:30:32 +01:00
committed by David Testé
parent 67130646ad
commit 1823321aad

View File

@@ -629,8 +629,12 @@ def check_performance_changes(results_file: pathlib.Path):
raise KeyError(
f"no head branch value found in results file for '{op_name}' operation"
)
try:
op_perf = OperationPerformance(op_name, baseline_data, head_branch_value)
except statistics.StatisticsError as err:
print(f"Operation '{op_name}' skipped due to invalid data (error: {err}).")
continue
op_perf = OperationPerformance(op_name, baseline_data, head_branch_value)
op_perf.compute_change()
changes.append(op_perf)