fix: last date ran (#2451)

This commit is contained in:
Andrew Ferlitsch
2023-10-31 21:00:07 +00:00
committed by GitHub
parent 759726e7b4
commit 9cb9d272f0
@@ -120,6 +120,8 @@ def load_results(results_bucket: str,
if notebook in accumulative_results:
accumulative_results[notebook]['passed'] += build_results[notebook]['passed']
accumulative_results[notebook]['failed'] += build_results[notebook]['failed']
if accumulative_results[notebook]['last_time_ran'] > time_created:
accumulative_results[notebook]['last_time_ran'] = time_created
else:
accumulative_results[notebook] = build_results[notebook]
accumulative_results[notebook]['failed_on_latest_run'] = build_results[notebook]['failed']