mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-03 04:19:18 +08:00
enhance: revert dead try on uploading codecov (#34131)
This reverts commit 5a14f65ee4
.
Signed-off-by: Liang Huang <sammy.huang@zilliz.com>
This commit is contained in:
parent
a33b68678d
commit
bd8ad106b9
27
.github/workflows/main.yaml
vendored
27
.github/workflows/main.yaml
vendored
@ -267,14 +267,21 @@ jobs:
|
||||
ls -lah
|
||||
- name: Upload coverage to Codecov
|
||||
if: ${{ github.repository == 'milvus-io/milvus' }}
|
||||
uses: Wandalen/wretry.action@v3.5.0
|
||||
uses: codecov/codecov-action@v4
|
||||
id: upload_cov
|
||||
with:
|
||||
action: codecov/codecov-action@v4
|
||||
with: |
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
files: ./go_coverage.txt,./lcov_output.info,./it_coverage.txt
|
||||
name: ubuntu-20.04-unittests
|
||||
fail_ci_if_error: true
|
||||
disable_safe_directory: true
|
||||
attempt_limit: 10
|
||||
attempt_delay: 30000
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
files: ./go_coverage.txt,./lcov_output.info,./it_coverage.txt
|
||||
name: ubuntu-20.04-unittests
|
||||
fail_ci_if_error: true
|
||||
disable_safe_directory: true
|
||||
- name: Retry Upload coverage to Codecov
|
||||
if: ${{ failure() && github.repository == 'milvus-io/milvus' }}
|
||||
uses: codecov/codecov-action@v4
|
||||
id: retry_upload_cov
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
files: ./go_coverage.txt,./lcov_output.info,./it_coverage.txt
|
||||
name: ubuntu-20.04-unittests
|
||||
fail_ci_if_error: true
|
||||
disable_safe_directory: true
|
||||
|
Loading…
Reference in New Issue
Block a user