Skip to content

Commit

Permalink
optimize: add codecov.yml and badge (alibaba#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
slievrly authored Nov 10, 2022
1 parent 6415be9 commit cdad934
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ header:
paths-ignore:
- '.gitignore'
- '*.md'
- '*.yml'
- 'LICENSE'
- '.github/**'
- '.licenserc.yaml'
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
Next-generation Cloud Native Gateway
</h1>

[![Build Status](https://github.com/alibaba/higress/workflows/build%20and%20codecov/badge.svg?branch=main)](https://github.com/alibaba/higress/actions)
[![license](https://img.shields.io/github/license/alibaba/higress.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)

[**官网**](https://higress.io/) &nbsp; |
&nbsp; [**文档**](https://higress.io/zh-cn/docs/overview/what-is-higress.html) &nbsp; |
&nbsp; [**博客**](https://higress.io/zh-cn/blog/index.html) &nbsp; |
Expand Down
20 changes: 20 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
codecov:
require_ci_to_pass: yes
coverage:
status:
patch: no
project:
default:
target: auto
threshold: 1%
if_not_found: success
changes: no
precision: 2
round: down
range: 50..100
ignore:
- "helm/**"
comment:
layout: "reach,diff,flags,tree"
behavior: default
require_changes: no

0 comments on commit cdad934

Please sign in to comment.