| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- # Codecov Configuration
- # https://docs.codecov.com/docs/codecov-yaml
- # Coverage targets
- coverage:
- precision: 2
- round: down
- range: "70...100"
-
- status:
- # Overall project coverage
- project:
- default:
- target: 80%
- threshold: 2%
- base: auto
- if_ci_failed: error
-
- # Coverage for changes in PR
- patch:
- default:
- target: 80%
- threshold: 5%
- base: auto
- if_ci_failed: error
- # Comment configuration for pull requests
- comment:
- layout: "reach,diff,flags,tree,files"
- behavior: default
- require_changes: false
- require_base: false
- require_head: true
- # Ignore paths
- ignore:
- - "tests/**/*"
- - "**/__pycache__/**/*"
- - "**/conftest.py"
- - "scripts/**/*"
- - "docs/**/*"
- - "examples/**/*"
- - "docker/**/*"
- - "**/__init__.py"
- # Flag configuration for different test types
- flags:
- unittests:
- paths:
- - src/
- carryforward: true
-
- integration:
- paths:
- - src/
- carryforward: true
-
- e2e:
- paths:
- - src/
- carryforward: true
- # Component configuration for coverage by layer
- component_management:
- individual_components:
- - component_id: domain_layer
- name: Domain Layer
- paths:
- - src/domain/**
-
- - component_id: application_layer
- name: Application Layer
- paths:
- - src/application/**
-
- - component_id: infrastructure_layer
- name: Infrastructure Layer
- paths:
- - src/infrastructure/**
-
- - component_id: presentation_layer
- name: Presentation Layer
- paths:
- - src/presentation/**
-
- - component_id: config
- name: Configuration
- paths:
- - src/config/**
-
- - component_id: shared
- name: Shared Utilities
- paths:
- - src/shared/**
- # GitHub checks configuration
- github_checks:
- annotations: true
- # Notification configuration
- slack_app: false
|