[ci] remove daily step retry and update pr score (#1782)

[ci] remove daily step retry
This commit is contained in:
zhulinJulia24 2024-12-26 16:51:26 +08:00 committed by GitHub
parent 56eaac6d8f
commit ebeb578fbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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