Skip to content

Commit

Permalink
Merge pull request #104 from Kuadrant/codecov-config
Browse files Browse the repository at this point in the history
codecov: add target and threshold
  • Loading branch information
eguzki authored Oct 2, 2023
2 parents 48f950c + 2cc9caf commit d1245e2
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,29 @@
codecov:
bot: "Codecov Bot"
max_report_age: 12
require_ci_to_pass: yes
require_ci_to_pass: true
notify:
after_n_builds: 1
wait_for_ci: yes
wait_for_ci: true

coverage:
status:
project:
default:
target: auto
threshold: 1%
patch:
default:
target: auto
threshold: 1%

# Layout of the PR comment produced by Codecov bot
comment:
layout: "header, diff, flags, components, files"

# Find more at https://docs.codecov.com/docs/ignoring-paths
ignore:
- "**/*.deepcopy.go" # ignore controller-gen generated code
- "**/*.deepcopy.go" # ignore controller-gen generated code

flag_management:
individual_flags:
Expand Down

0 comments on commit d1245e2

Please sign in to comment.