Not send successful report (#17329)
* send report only if there is any failure Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -773,5 +773,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
message = Message(title, ci_title, model_results, additional_results)
|
message = Message(title, ci_title, model_results, additional_results)
|
||||||
|
|
||||||
message.post()
|
# send report only if there is any failure
|
||||||
message.post_reply()
|
if message.n_failures:
|
||||||
|
message.post()
|
||||||
|
message.post_reply()
|
||||||
|
|||||||
Reference in New Issue
Block a user