Skip to content

Commit

Permalink
ci: coverage and labeler updates to workflows (#2572)
Browse files Browse the repository at this point in the history
* ci: update workflows

- update labeler.yml
- upgrade codecov-action

* ci: refine coverage report name
  • Loading branch information
aceforeverd authored Sep 28, 2022
1 parent 89b3592 commit 39b24bf
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,10 @@ build:

workflow:
- '.github/**/*.yml'
- '.github/**/*.yaml'

go-sdk:
- 'go/**/*'

extensions:
- 'extensions/**/*'
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
uses: codecov/codecov-action@v3
with:
files: build/coverage.info
name: coverage
name: coverage-cpp
fail_ci_if_error: true
verbose: true

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ jobs:
./mvnw --batch-mode scoverage:report
- name: upload maven coverage
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
files: java/**/target/site/jacoco/jacoco.xml,java/**/target/scoverage.xml
name: coverage
name: coverage-java
fail_ci_if_error: true
verbose: true

Expand Down Expand Up @@ -275,9 +275,9 @@ jobs:
python/openmldb_sdk/openmldb/tests/pytest.xml
- name: upload python coverage to codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
name: coverage
name: coverage-python
files: python/openmldb_sdk/tests/coverage.xml
fail_ci_if_error: true
verbose: true
Expand Down Expand Up @@ -378,7 +378,7 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
name: coverage
name: coverage-go
files: go/coverage.out
fail_ci_if_error: true
verbose: true
Expand Down

0 comments on commit 39b24bf

Please sign in to comment.