diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 368d2f0ad..f6ba539a6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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/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 diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 000000000..1d6261311 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,4 @@ +comment: + behavior: default + layout: reach,diff,flags,files,footer + require_changes: false diff --git a/pom.xml b/pom.xml index 25339b4a1..ff55dd3d1 100644 --- a/pom.xml +++ b/pom.xml @@ -327,6 +327,7 @@ .editorconfig .travis.yml + codecov.yml CONTRIBUTING.md CODE_OF_CONDUCT.md CHANGELOG.md