Skip to content

Commit 29efe2e

Browse files
author
egonspace
committed
chore: codecov no base report
1 parent 3823fcc commit 29efe2e

File tree

2 files changed

+4
-24
lines changed

2 files changed

+4
-24
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ jobs:
192192
sed -i.bak "/$(echo $filename | sed 's/\//\\\//g')/d" coverage.txt
193193
done
194194
if: env.GIT_DIFF
195-
- uses: codecov/codecov-action@v1.2.1
195+
- uses: codecov/codecov-action@v1.5.0
196196
with:
197197
token: ${{ secrets.CODECOV_TOKEN }}
198198
file: ./coverage.txt

codecov.yml

+3-23
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,14 @@ codecov:
1010
comment:
1111
layout: "reach,diff,flags,tree"
1212
behavior: default # update if exists else create new
13-
require_changes: no
13+
require_changes: true
1414

1515
coverage:
1616
status:
1717
project:
1818
default:
19-
# basic
2019
target: 20
2120
threshold: 1% # allow this much decrease on project
22-
base: auto
23-
# advanced
24-
branches: null
25-
if_no_uploads: error
26-
if_not_found: success
27-
if_ci_failed: error
28-
only_pulls: false
29-
flags: null
30-
paths: null
3121
app:
3222
target: 70%
3323
flags:
@@ -58,14 +48,6 @@ flags:
5848
- "client/"
5949
- "x/**/client/"
6050

61-
parsers:
62-
gcov:
63-
branch_detection:
64-
conditional: yes
65-
loop: yes
66-
method: no
67-
macro: no
68-
6951
ignore:
7052
- "docs"
7153
- "*.md"
@@ -75,12 +57,10 @@ ignore:
7557
- "*.sh"
7658
- "*.png"
7759
- "*_test.go"
60+
- "scripts/"
7861
- "x/**/test_common.go"
7962
- "*_cmd.go"
80-
- "contrib/**/*"
81-
- "client/rpc/**/*_wrapper.go"
82-
- "client/rpc/**/*_alias.go"
83-
- "client/rpc/mock/*.go"
63+
- "contrib"
8464
- "statik.go"
8565
- "root.go"
8666
- "x/**/module.go"

0 commit comments

Comments
 (0)