From ebeb578fbf3721e2be44b0b9a544a129c16b4f95 Mon Sep 17 00:00:00 2001 From: zhulinJulia24 <145004780+zhulinJulia24@users.noreply.github.com> Date: Thu, 26 Dec 2024 16:51:26 +0800 Subject: [PATCH] [ci] remove daily step retry and update pr score (#1782) [ci] remove daily step retry --- .github/workflows/daily-run-test.yml | 8 ++++---- .github/workflows/pr-run-test.yml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/daily-run-test.yml b/.github/workflows/daily-run-test.yml index 4ea85c19..6c308c56 100644 --- a/.github/workflows/daily-run-test.yml +++ b/.github/workflows/daily-run-test.yml @@ -146,7 +146,7 @@ jobs: - name: Prepare - create conda env and install torch - cu12 uses: nick-fields/retry@v3 with: - max_attempts: 3 + max_attempts: 1 timeout_minutes: 240 command: | . ${{env.CONDA_PATH}}/bin/activate @@ -208,8 +208,8 @@ jobs: - name: Run test uses: nick-fields/retry@v3 with: - max_attempts: 3 - timeout_minutes: 40 + max_attempts: 1 + timeout_minutes: 120 command: | . ${{env.CONDA_PATH}}/bin/activate conda activate ${{env.CONDA_ENV}} @@ -320,7 +320,7 @@ jobs: - name: Run testcase uses: nick-fields/retry@v3 with: - max_attempts: 3 + max_attempts: 1 timeout_minutes: 240 command: | . ${{env.CONDA_PATH}}/bin/activate diff --git a/.github/workflows/pr-run-test.yml b/.github/workflows/pr-run-test.yml index ef067720..532d62ee 100644 --- a/.github/workflows/pr-run-test.yml +++ b/.github/workflows/pr-run-test.yml @@ -81,9 +81,9 @@ jobs: fi score=$(sed -n '$p' ${{env.REPORT_ROOT}}/${{ github.run_id }}/regression_result3/*/summary/*.csv | awk -F ',' '{print $NF}') if (( ${score%.*} >= 87 && ${score%.*} <= 89 )); then - echo "score is $score between 87 and 89" + echo "score is $score between 87 and 91" else - echo "score is $score not between 87 and 89" + echo "score is $score not between 87 and 91" exit 1 fi - name: Uninstall opencompass