[skip e2e]Improve codecov uploader (#20672)

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

Signed-off-by: Jenny Li <jing.li@zilliz.com>
pull/20721/head
Jenny Li 2022-11-23 09:53:21 +08:00 committed by GitHub
parent 294987741f
commit 8e2083c8a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 8 deletions

View File

@ -94,13 +94,7 @@ jobs:
./lcov_output.info
*.info
*.out
codecov.yml
internal/**
cmd/**
configs/**
pkg/**
go.mod
go.sum
.git
codecov:
name: Upload Code Coverage
needs: UT
@ -112,7 +106,9 @@ jobs:
with:
name: code-coverage-result
- name: Display structure of code coverage results
run: ls -lah
run: |
ls -lah
- name: Upload coverage to Codecov
if: "github.repository == 'milvus-io/milvus'"
uses: codecov/codecov-action@v3.1.1