Skip to content

Commit eb23de3

Browse files
committed
Fail the build reports on non-success status to restart on the next attempt
1 parent 58bf189 commit eb23de3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/ci/ci.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2121,6 +2121,8 @@ def main() -> int:
21212121
pr_info,
21222122
dump_to_file=True,
21232123
)
2124+
if job_report.status != SUCCESS:
2125+
exit_code = 1
21242126
if not pr_info.is_merge_queue:
21252127
# in the merge queue mergeable status must be set only in FinishCheck (last job in wf)
21262128
update_mergeable_check(

0 commit comments

Comments
 (0)