diff --git a/.github/workflows/slack-report.yml b/.github/workflows/slack-report.yml index 72442385e03d..75905dde495e 100644 --- a/.github/workflows/slack-report.yml +++ b/.github/workflows/slack-report.yml @@ -61,7 +61,7 @@ jobs: # Upload complete failure tables, as they might be big and only truncated versions could be sent to Slack. - name: Failure table artifacts # Only the model testing job is concerned for this step - if: ${{ inputs.job == 'run_tests_gpu' }} + if: ${{ inputs.job == 'run_models_gpu' }} uses: actions/upload-artifact@v4 with: name: prev_ci_results diff --git a/utils/notification_service.py b/utils/notification_service.py index 641c80d22d7f..ba082b046fce 100644 --- a/utils/notification_service.py +++ b/utils/notification_service.py @@ -1133,10 +1133,10 @@ def prepare_reports(title, header, reports, to_truncate=True): ) # Let's only check the warning for the model testing job. Currently, the job `run_extract_warnings` is only run - # when `inputs.job` (in the workflow file) is `run_tests_gpu`. The reason is: otherwise we need to save several + # when `inputs.job` (in the workflow file) is `run_models_gpu`. The reason is: otherwise we need to save several # artifacts with different names which complicates the logic for an insignificant part of the CI workflow reporting. selected_warnings = [] - if job_name == "run_tests_gpu": + if job_name == "run_models_gpu": if "warnings_in_ci" in available_artifacts: directory = available_artifacts["warnings_in_ci"].paths[0]["path"] with open(os.path.join(directory, "selected_warnings.json")) as fp: @@ -1147,7 +1147,7 @@ def prepare_reports(title, header, reports, to_truncate=True): # Only the model testing job is concerned: this condition is to avoid other jobs to upload the empty list as # results. - if job_name == "run_tests_gpu": + if job_name == "run_models_gpu": with open("prev_ci_results/model_results.json", "w", encoding="UTF-8") as fp: json.dump(model_results, fp, indent=4, ensure_ascii=False) diff --git a/utils/split_model_tests.py b/utils/split_model_tests.py index fc8800ffcf1c..e5083aaeb46f 100644 --- a/utils/split_model_tests.py +++ b/utils/split_model_tests.py @@ -18,7 +18,7 @@ to split the list of jobs to run into multiple slices each containing a smaller number of jobs. This way, we can bypass the maximum of 256 jobs in a matrix. -See the `setup` and `run_tests_gpu` jobs defined in the workflow file `.github/workflows/self-scheduled.yml` for more +See the `setup` and `run_models_gpu` jobs defined in the workflow file `.github/workflows/self-scheduled.yml` for more details. Usage: