Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fixed codecov.yml #459

Merged
merged 1 commit into from
May 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 16 additions & 26 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,16 @@ ignore:

coverage:
status:
project: yes
patch: yes
changes: yes
project:
default:
target: 85% #overall project / repo coverage

patch:
service:
target: 60%
threshold: 30%
flags:
- zpaprovider

comment:
layout: "reach, diff, flags, files"
Expand All @@ -18,27 +25,10 @@ comment:
- master

flags:
zpa:
paths:
- zpa/**/*.go
carryforward: true

flag_management:
default_rules:
carryforward: true
statuses:
- type: project
target: auto
threshold: 1%
- type: patch
target: 75%
individual_flags:
- name: zpa
paths:
- zpa/**/*.go
zpaprovider:
carryforward: true
statuses:
- type: project
target: 75%
- type: patch
target: 100%
paths:
- zpa/*.go

github_checks:
annotations: true
Loading