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