Skip to content

Commit

Permalink
Add CodeCov Components feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonpage committed Nov 8, 2024
1 parent 665d3d3 commit 407724f
Showing 1 changed file with 24 additions and 7 deletions.
31 changes: 24 additions & 7 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,26 @@ coverage:
project:
default: false # disable the default status that measures entire project
SalesforceAnalytics:
target: auto
paths:
- "libs/SalesforceAnalytics/SalesforceAnalytics/"
flags:
- SalesforceAnalytics
SalesforceSDKCommon:
target: auto
paths:
- "libs/SalesforceSDKCore/SalesforceSDKCommon/"
flags:
- SalesforceSDKCommon
SalesforceSDKCore:
target: auto
paths:
- "libs/SalesforceSDKCore/SalesforceSDKCore/"
flags:
- SalesforceSDKCore
SmartStore:
target: auto
paths:
- "libs/SmartStore/SmartStore/"
flags:
- SmartStore
MobileSync:
target: auto
paths:
- "libs/MobileSync/MobileSync/"
flags:
Expand All @@ -51,7 +46,29 @@ flag_management:
default_rules: # the rules that will be followed for any flag added, generally
carryforward: true

# PR comment layout
comment:
layout: "diff, flags, files"
layout: "diff, components, files"
behavior: default
require_changes: false
require_changes: false

component_management:
individual_components:
- component_id: SalesforceAnalytics # this is an identifier that should not be changed
name: Analytics # this is a display name, and can be changed freely
paths:
- "libs/SalesforceAnalytics/SalesforceAnalytics/"
- component_id: SalesforceSDKCommon
name: Common
paths:
- "libs/SalesforceSDKCommon/SalesforceSDKCommon/"
- component_id: SalesforceSDKCore
name: Core
paths:
- "libs/SalesforceSDKCore/SalesforceSDKCore/"
- component_id: SmartStore
paths:
- "libs/SmartStore/SmartStore/"
- component_id: MobileSync
paths:
- "libs/MobileSync/MobileSync/"

0 comments on commit 407724f

Please sign in to comment.