Skip to content

Commit

Permalink
Add codeCov report after CI finish (#8344)
Browse files Browse the repository at this point in the history
* Try add codecov

* Try add codecov

* Try scan all jacoco.xml

* Try to add all jacoco.xml

* Add codecov.yml

* Fix copyright check for codecov.yml

* Fix copyright check for codecov.yml
  • Loading branch information
KomachiSion authored May 11, 2022
1 parent 409d393 commit ed999d9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ jobs:
run: mvn -Prelease-nacos -Dmaven.test.skip=true clean install -U
- name: Test With Maven
run: mvn -Prelease-nacos clean test
- name: Codecov
uses: codecov/[email protected]
with:
files: ./address/target/site/jacoco/jacoco.xml,./api/target/site/jacoco/jacoco.xml,./auth/target/site/jacoco/jacoco.xml,./client/target/site/jacoco/jacoco.xml,./common/target/site/jacoco/jacoco.xml,./consistency/target/site/jacoco/jacoco.xml,./console/target/site/jacoco/jacoco.xml,./core/target/site/jacoco/jacoco.xml,./naming/target/site/jacoco/jacoco.xml,./plugin-default-impl/target/site/jacoco/jacoco.xml,./plugin/auth/target/site/jacoco/jacoco.xml,./plugin/encryption/target/site/jacoco/jacoco.xml,./sys/target/site/jacoco/jacoco.xml
4 changes: 4 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
comment:
behavior: default
layout: reach,diff,flags,files,footer
require_changes: false
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@
<excludes>
<exclude>.editorconfig</exclude>
<exclude>.travis.yml</exclude>
<exclude>codecov.yml</exclude>
<exclude>CONTRIBUTING.md</exclude>
<exclude>CODE_OF_CONDUCT.md</exclude>
<exclude>CHANGELOG.md</exclude>
Expand Down

0 comments on commit ed999d9

Please sign in to comment.