From 41a8fa4e14ae14405a69efc65bfc21c9daa71c1a Mon Sep 17 00:00:00 2001 From: Yih-Dar <2521628+ydshieh@users.noreply.github.com> Date: Mon, 12 Jun 2023 21:27:10 +0200 Subject: [PATCH] Add the number of `model` test failures to slack CI report (#24207) fix Co-authored-by: ydshieh --- utils/notification_service.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utils/notification_service.py b/utils/notification_service.py index 32df44ef3e..1d10fa5d82 100644 --- a/utils/notification_service.py +++ b/utils/notification_service.py @@ -193,8 +193,9 @@ class Message: "text": { "type": "plain_text", "text": ( - f"There were {self.n_failures} failures, out of {self.n_tests} tests.\nThe suite ran in" - f" {self.time}." + f"There were {self.n_failures} failures, out of {self.n_tests} tests.\n" + f"Number of model failures: {self.n_model_failures}.\n" + f"The suite ran in {self.time}." ), "emoji": True, },