feat: generate custom coverage config to omit legacy and external compoents (#9221)
* feat: generate custom coverage config to omit legacy and external components * lint * fix components config * also remove deactivated componenets * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
8d6505558b
commit
da4208dcc9
5 changed files with 232 additions and 2 deletions
16
codecov.yml
16
codecov.yml
|
|
@ -66,6 +66,22 @@ flags:
|
|||
- src/frontend/
|
||||
carryforward: true # Preserve coverage data across builds if missing
|
||||
|
||||
# Define coverage components for granular reporting
|
||||
component_management:
|
||||
default_rules: # default rules that will be inherited by all components
|
||||
statuses:
|
||||
- type: project # in this case every component that doens't have a status defined will have a project type one
|
||||
target: auto
|
||||
branches:
|
||||
- "!main"
|
||||
individual_components:
|
||||
- component_id: backend_components
|
||||
name: "Backend Components"
|
||||
paths:
|
||||
- src/backend/base/langflow/components/**
|
||||
# Note: Many components excluded by .coveragerc (bundled + legacy)
|
||||
# This tracks coverage of remaining "core" components only
|
||||
|
||||
# Files/directories to exclude from coverage calculations
|
||||
ignore:
|
||||
# Database migrations - infrastructure code, not business logic
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue