[skip e2e] Fail ci when upload codecov report failed (#19036)

Signed-off-by: Jenny Li <jing.li@zilliz.com>

Signed-off-by: Jenny Li <jing.li@zilliz.com>
pull/19040/head
Jenny Li 2022-09-06 12:39:11 +08:00 committed by GitHub
parent 7b5eb85205
commit 8dce723327
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./go_coverage.txt,./lcov_output.info
name: ubuntu-${{ matrix.ubuntu }}-unittests
fail_ci_if_error: false
fail_ci_if_error: true
- name: Retry Upload coverage to Codecov
if: "steps.upload_cov.outcome=='failure' && github.repository == 'milvus-io/milvus'"
uses: codecov/codecov-action@v3.1.0