From 8abc76e5eede369d0743f4d07b9ef5c0da88c627 Mon Sep 17 00:00:00 2001 From: zhangjiawei <349071347@qq.com> Date: Mon, 9 Oct 2023 15:39:54 +0800 Subject: [PATCH 1/2] optimize codecov --- codecov.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/codecov.yml b/codecov.yml index e60b1be0fec..3e9ce0726d0 100644 --- a/codecov.yml +++ b/codecov.yml @@ -2,24 +2,25 @@ codecov: require_ci_to_pass: yes coverage: status: - patch: no + patch: off + changes: off project: default: threshold: 1% if_not_found: success - changes: no + round: down precision: 2 - range: "50...100" + range: "50..75" ignore: - - "test/.*" - - ".github/.*" - - ".mvn/.*" - - ".style/.*" - - "*.md" + - "**/test" + - "**/.github" + - "**/.mvn" + - "**/.style" + - "**/*.md" - "rm-datasource/src/test/java/io/seata/rm/datasource/mock" - - "sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/antlr/.*" - - "sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser/.*" + - "sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/antlr" + - "sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/parser" comment: - layout: "reach,diff,flags,tree" + layout: "reach, diff, flags, tree" behavior: default require_changes: no From 7bab56faf838c4e1ddfd05e7283606281584fdd3 Mon Sep 17 00:00:00 2001 From: zhangjiawei <349071347@qq.com> Date: Mon, 9 Oct 2023 15:46:16 +0800 Subject: [PATCH 2/2] update change md --- changes/en-us/develop.md | 1 + changes/zh-cn/develop.md | 1 + 2 files changed, 2 insertions(+) diff --git a/changes/en-us/develop.md b/changes/en-us/develop.md index 0ca04a47112..2705117a801 100644 --- a/changes/en-us/develop.md +++ b/changes/en-us/develop.md @@ -16,6 +16,7 @@ Add changes here for all PR submitted to the develop branch. - [[#5890](https://github.com/seata/seata/pull/5890)] remove 7z format compression support - [[#5891](https://github.com/seata/seata/pull/5891)] remove mariadb.jdbc dependency - [[#5828](https://github.com/seata/seata/pull/5828)] fix codecov chart not display +- [[#5918](https://github.com/seata/seata/pull/5918)] standardized the properties of codecov.yml ### security: - [[#5867](https://github.com/seata/seata/pull/5867)] fix npm package vulnerabilities diff --git a/changes/zh-cn/develop.md b/changes/zh-cn/develop.md index fbf2e7de30b..f9a529a36d6 100644 --- a/changes/zh-cn/develop.md +++ b/changes/zh-cn/develop.md @@ -16,6 +16,7 @@ - [[#5890](https://github.com/seata/seata/pull/5890)] 移除7z压缩支持 - [[#5891](https://github.com/seata/seata/pull/5891)] 移除 mariadb.jdbc 依赖 - [[#5828](https://github.com/seata/seata/pull/5828)] 修正 `codecov chart` 不展示的问题 +- [[#5918](https://github.com/seata/seata/pull/5918)] 修正codecov.yml不标准属性 ### security: - [[#5867](https://github.com/seata/seata/pull/5867)] 修复npm package漏洞