/ laxyfile / codecov.yml
swadhin biswas Update on working process · 7/28/2025
f1cf876
120 lines · 2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# Codecov configuration for LaxyFile
# https://docs.codecov.com/docs/codecov-yaml

coverage:
  precision: 2
  round: down
  range: "70...100"

  status:
    project:
      default:
        target: 80%
        threshold: 1%
        base: auto
        branches:
          - main
          - develop
    patch:
      default:
        target: 75%
        threshold: 2%

  ignore:
    - "tests/"
    - "docs/"
    - "scripts/"
    - "packaging/"
    - "build/"
    - "dist/"
    - "*.egg-info/"
    - "setup.py"
    - "conftest.py"
    - "**/__pycache__/"
    - "**/*.pyc"
    - "**/test_*.py"
    - "laxyfile/__main__.py" # Entry point, hard to test
    - "laxyfile/main.py" # Main CLI, integration tested

comment:
  layout: "reach,diff,flags,tree,footer"
  behavior: default
  require_changes: false
  require_base: no
  require_head: yes

github_checks:
  annotations: true

flags:
  unittests:
    paths:
      - laxyfile/
    carryforward: true
  integration:
    paths:
      - laxyfile/
    carryforward: true
  performance:
    paths:
      - laxyfile/
    carryforward: false

component_management:
  default_rules:
    statuses:
      - type: project
        target: 80%
      - type: patch
        target: 75%
  individual_components:
    - component_id: core
      name: Core Components
      paths:
        - laxyfile/core/
      statuses:
        - type: project
          target: 85%
    - component_id: ui
      name: UI Components
      paths:
        - laxyfile/ui/
      statuses:
        - type: project
          target: 75%
    - component_id: ai
      name: AI Components
      paths:
        - laxyfile/ai/
      statuses:
        - type: project
          target: 80%
    - component_id: operations
      name: File Operations
      paths:
        - laxyfile/operations/
      statuses:
        - type: project
          target: 85%
    - component_id: preview
      name: Preview System
      paths:
        - laxyfile/preview/
      statuses:
        - type: project
          target: 75%
    - component_id: plugins
      name: Plugin System
      paths:
        - laxyfile/plugins/
      statuses:
        - type: project
          target: 80%
    - component_id: utils
      name: Utilities
      paths:
        - laxyfile/utils/
      statuses:
        - type: project
          target: 85%