Unverified Commit 1432f641 authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

Finally fix the missing new model failure CI report (#30968)



fix
Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent dff54ad2
...@@ -1164,7 +1164,8 @@ if __name__ == "__main__": ...@@ -1164,7 +1164,8 @@ if __name__ == "__main__":
json.dump(job_result, fp, indent=4, ensure_ascii=False) json.dump(job_result, fp, indent=4, ensure_ascii=False)
prev_ci_artifacts = None prev_ci_artifacts = None
target_workflow = "huggingface/transformers/.github/workflows/self-scheduled.yml@refs/heads/main" if job_name == "run_models_gpu":
target_workflow = "huggingface/transformers/.github/workflows/self-scheduled-caller.yml@refs/heads/main"
if os.environ.get("CI_WORKFLOW_REF") == target_workflow: if os.environ.get("CI_WORKFLOW_REF") == target_workflow:
# Get the last previously completed CI's failure tables # Get the last previously completed CI's failure tables
artifact_names = [f"ci_results_{job_name}"] artifact_names = [f"ci_results_{job_name}"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment