Skip to content

Commit 27d01da

Browse files
ci(codecov): fix diff coverage (#384)
* ci(codecov): fix diff coverage Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com> * Update codecov.yaml Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
1 parent 05d0131 commit 27d01da

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

.github/workflows/build-and-test-differential.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
files: ${{ steps.test.outputs.coverage-report-files }}
4848
fail_ci_if_error: false
4949
verbose: true
50+
flags: differential
5051

5152
clang-tidy-differential:
5253
runs-on: ubuntu-latest

.github/workflows/build-and-test.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,4 @@ jobs:
4646
files: ${{ steps.test.outputs.coverage-report-files }}
4747
fail_ci_if_error: false
4848
verbose: true
49+
flags: total

codecov.yaml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
coverage:
2+
status:
3+
project:
4+
default:
5+
target: auto
6+
patch:
7+
default:
8+
target: auto
9+
10+
comment:
11+
show_carryforward_flags: true
12+
13+
flag_management:
14+
default_rules:
15+
carryforward: true
16+
statuses:
17+
- name_prefix: project-
18+
type: project
19+
target: auto
20+
- name_prefix: patch-
21+
type: patch
22+
target: auto

0 commit comments

Comments
 (0)