Skip to content

Commit

Permalink
Update code cov yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
Thumimku committed Nov 20, 2024
1 parent 5060bd6 commit 0a46afc
Showing 1 changed file with 22 additions and 13 deletions.
35 changes: 22 additions & 13 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
codecov:
require_ci_to_pass: yes
notify:
wait_for_ci: yes
require_ci_to_pass: yes
notify:
wait_for_ci: yes
max_report_age: false

coverage:
status:
project: # checks the effect for the overall code coverage rate of the repository.
default:
enabled: yes
threshold: null
target: auto
patch: # This status indicates the extent of code coverage achieved by the pull request.
default:
target: 80%
threshold: 40% # With a target of 80% and a threshold of 40%, the acceptable coverage range is 40% to 80%.
status:
project: off
patch: off

flag_management:
default_rules:
carryforward: true
individual_flags:
- name: unit
statuses:
- type: project
target: auto
threshold: null
- type: patch
target: 80%
threshold: 40%

0 comments on commit 0a46afc

Please sign in to comment.