Disable CI runner check (#27170)
Disable runner check Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -769,12 +769,15 @@ def prepare_reports(title, header, reports, to_truncate=True):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
runner_status = os.environ.get("RUNNER_STATUS")
|
||||
runner_env_status = os.environ.get("RUNNER_ENV_STATUS")
|
||||
# runner_status = os.environ.get("RUNNER_STATUS")
|
||||
# runner_env_status = os.environ.get("RUNNER_ENV_STATUS")
|
||||
setup_status = os.environ.get("SETUP_STATUS")
|
||||
|
||||
runner_not_available = True if runner_status is not None and runner_status != "success" else False
|
||||
runner_failed = True if runner_env_status is not None and runner_env_status != "success" else False
|
||||
# runner_not_available = True if runner_status is not None and runner_status != "success" else False
|
||||
# runner_failed = True if runner_env_status is not None and runner_env_status != "success" else False
|
||||
# Let's keep the lines regardig runners' status (we might be able to use them again in the future)
|
||||
runner_not_available = False
|
||||
runner_failed = False
|
||||
setup_failed = True if setup_status is not None and setup_status != "success" else False
|
||||
|
||||
org = "huggingface"
|
||||
|
||||
Reference in New Issue
Block a user