Skip to content

Commit

Permalink
Set carryforward flag to true on codecov configuration (#3941)
Browse files Browse the repository at this point in the history
Set carryforward flag to true to past coverage for tests that
are not run on current commit.
You can refer to https://docs.codecov.com/docs/carryforward-flags to
learn more details.

Signed-off-by: Lan Luo <luola@vmware.com>
  • Loading branch information
luolanzone committed Jun 30, 2022
1 parent 863458b commit 0aad945
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ comment:
require_base: no
require_head: no
after_n_builds: 1
show_carryforward_flags: true

coverage:
status:
Expand Down Expand Up @@ -36,6 +37,10 @@ coverage:
flags:
- mc-integration-tests

flag_management:
default_rules:
carryforward: true

ignore:
- "**/testing/mock_*.go"
- "**/mock_*.go"
Expand Down

0 comments on commit 0aad945

Please sign in to comment.