Add codeCov report after CI finish (#8344)
* 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
This commit is contained in:
parent
409d393f13
commit
ed999d9522
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -35,3 +35,7 @@ jobs:
|
|||||||
run: mvn -Prelease-nacos -Dmaven.test.skip=true clean install -U
|
run: mvn -Prelease-nacos -Dmaven.test.skip=true clean install -U
|
||||||
- name: Test With Maven
|
- name: Test With Maven
|
||||||
run: mvn -Prelease-nacos clean test
|
run: mvn -Prelease-nacos clean test
|
||||||
|
- name: Codecov
|
||||||
|
uses: codecov/codecov-action@v3.1.0
|
||||||
|
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
codecov.yml
Normal file
4
codecov.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
comment:
|
||||||
|
behavior: default
|
||||||
|
layout: reach,diff,flags,files,footer
|
||||||
|
require_changes: false
|
1
pom.xml
1
pom.xml
@ -327,6 +327,7 @@
|
|||||||
<excludes>
|
<excludes>
|
||||||
<exclude>.editorconfig</exclude>
|
<exclude>.editorconfig</exclude>
|
||||||
<exclude>.travis.yml</exclude>
|
<exclude>.travis.yml</exclude>
|
||||||
|
<exclude>codecov.yml</exclude>
|
||||||
<exclude>CONTRIBUTING.md</exclude>
|
<exclude>CONTRIBUTING.md</exclude>
|
||||||
<exclude>CODE_OF_CONDUCT.md</exclude>
|
<exclude>CODE_OF_CONDUCT.md</exclude>
|
||||||
<exclude>CHANGELOG.md</exclude>
|
<exclude>CHANGELOG.md</exclude>
|
||||||
|
Loading…
Reference in New Issue
Block a user