mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
[ci] remove daily step retry and update pr score (#1782)
[ci] remove daily step retry
This commit is contained in:
parent
56eaac6d8f
commit
ebeb578fbf
8
.github/workflows/daily-run-test.yml
vendored
8
.github/workflows/daily-run-test.yml
vendored
@ -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
|
||||
|
4
.github/workflows/pr-run-test.yml
vendored
4
.github/workflows/pr-run-test.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user