mirror of https://github.com/milvus-io/milvus.git
Update codecov action
Signed-off-by: wangting0128 <ting.wang@zilliz.com>pull/6654/head
parent
e0d5542ac1
commit
7e6d0bbf22
|
@ -3,6 +3,19 @@ name: Build and test
|
|||
|
||||
# This workflow is triggered on pushes or pull request to the repository.
|
||||
on:
|
||||
push:
|
||||
# file paths to consider in the event. Optional; defaults to all.
|
||||
paths:
|
||||
- 'scripts/**'
|
||||
- 'internal/**'
|
||||
- 'cmd/**'
|
||||
- 'build/**'
|
||||
- '.github/workflows/main.yaml'
|
||||
- '.env'
|
||||
- docker-compose.yml
|
||||
- Makefile
|
||||
- '!**.md'
|
||||
- '!build/ci/jenkins/**'
|
||||
pull_request:
|
||||
# file paths to consider in the event. Optional; defaults to all.
|
||||
paths:
|
||||
|
@ -53,6 +66,7 @@ jobs:
|
|||
run: |
|
||||
./build/builder.sh /bin/bash -c "make check-proto-product && make unittest"
|
||||
- name: Upload coverage to Codecov
|
||||
if: github.repository == 'milvus-io/milvus'
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
|
Loading…
Reference in New Issue