From d1da21a266d28e2e8278b596329a3278670b8883 Mon Sep 17 00:00:00 2001 From: ydshieh Date: Sat, 23 Mar 2024 09:33:19 +0100 Subject: [PATCH] try --- .github/workflows/self-scheduled-caller.yml | 2 +- .github/workflows/slack-report.yml | 1 + utils/notification_service.py | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/self-scheduled-caller.yml b/.github/workflows/self-scheduled-caller.yml index ca17d1e093f66a..116d7e24ba078a 100644 --- a/.github/workflows/self-scheduled-caller.yml +++ b/.github/workflows/self-scheduled-caller.yml @@ -21,7 +21,7 @@ jobs: uses: ./.github/workflows/self-scheduled.yml with: job: run_tests_gpu - env_name_for_slack_report_channel: CI_SLACK_CHANNEL_ID_DAILY + env_name_for_slack_report_channel: CI_SLACK_CHANNEL_DUMMY_TESTS secrets: inherit diff --git a/.github/workflows/slack-report.yml b/.github/workflows/slack-report.yml index 188895704601e1..0ca567818f8f15 100644 --- a/.github/workflows/slack-report.yml +++ b/.github/workflows/slack-report.yml @@ -42,6 +42,7 @@ jobs: CI_EVENT: scheduled CI_SHA: ${{ github.sha }} CI_WORKFLOW_REF: ${{ github.workflow_ref }} + CI_TEST_JOB: ${{ inputs.job }} SETUP_STATUS: ${{ inputs.setup_status }} # We pass `needs.setup.outputs.matrix` as the argument. A processing in `notification_service.py` to change # `models/bert` to `models_bert` is required, as the artifact names use `_` instead of `/`. diff --git a/utils/notification_service.py b/utils/notification_service.py index 38fa17ad804772..2cf4560c514eb7 100644 --- a/utils/notification_service.py +++ b/utils/notification_service.py @@ -1064,6 +1064,11 @@ def prepare_reports(title, header, reports, to_truncate=True): elif ci_event.startswith("Push CI (AMD)"): additional_files = {} + job_name = os.getenv("CI_TEST_JOB") + + if job_name != "run_tests_quantization_torch_gpu" and "Quantization tests" in additional_files: + del additional_files["Quantization tests"] + additional_results = { key: { "failed": {"unclassified": 0, "single": 0, "multi": 0},