mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
update fasttest a bit
This commit is contained in:
parent
b2c36fc3e5
commit
fc02e9efc9
@ -214,8 +214,11 @@ def main():
|
|||||||
|
|
||||||
# Refuse other checks to run if fast test failed
|
# Refuse other checks to run if fast test failed
|
||||||
if state != "success":
|
if state != "success":
|
||||||
if FORCE_TESTS_LABEL in pr_info.labels and state != "error":
|
if state == "error":
|
||||||
print(f"'{FORCE_TESTS_LABEL}' enabled, will report success")
|
print("The status is 'error', report failure disregard the labels")
|
||||||
|
sys.exit(1)
|
||||||
|
elif FORCE_TESTS_LABEL in pr_info.labels:
|
||||||
|
print(f"'{FORCE_TESTS_LABEL}' enabled, reporting success")
|
||||||
else:
|
else:
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user