Skip to content

Commit a7f66ae

Browse files
committed
chore(ci): adjust Codecov and Codacy settings
1 parent 83970c1 commit a7f66ae

File tree

2 files changed

+61
-20
lines changed

2 files changed

+61
-20
lines changed

.codacy.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
# https://docs.codacy.com/repositories-configure/codacy-configuration-file/
22

33
exclude_paths:
4-
- ".github"
5-
- ".vscode"
6-
- "LICENSE"
7-
- "README.md"
4+
- "assets/**/*"
85
- "data/**/*"
96
- "models/**/*"
7+
- "postman_collections/**/*"
108
- "schemas/**/*"
119
- "tests/**/*"
12-
- "postman_collections/**/*"
10+
- "**/*.yml"
11+
- "**/*.json"
12+
- "**/*.txt"
13+
- "**/__pycache__/"
14+
- "**/*.pyc"
15+
- "LICENSE"
1316
- "main.py"
17+
- "README.md"

codecov.yml

Lines changed: 52 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,59 @@
11
# https://docs.codecov.com/docs/codecov-yaml
22

3-
ignore:
4-
- "data"
5-
- "models"
6-
- "schemas"
7-
- "tests"
8-
- "postman_collections"
9-
- "main.py"
10-
113
coverage:
124
status:
135
project:
14-
routes:
15-
paths:
16-
- "routes"
17-
services:
18-
paths:
19-
- "services"
6+
default:
7+
target: 80%
8+
threshold: 10%
9+
if_not_found: success
10+
if_ci_failed: error
11+
2012
patch:
2113
default:
22-
informational: true
14+
target: 80%
15+
threshold: 10%
16+
17+
flags:
18+
unit:
19+
paths:
20+
- "services/"
21+
- "routes/"
22+
carryforward: true
23+
24+
component_management:
25+
default_rules:
26+
statuses:
27+
- type: project
28+
target: auto
29+
branches:
30+
- "!main"
31+
32+
individual_components:
33+
- component_id: services
34+
name: Services
35+
paths:
36+
- "services/"
37+
- component_id: routes
38+
name: Routes
39+
paths:
40+
- "routes/"
41+
42+
comment:
43+
layout: "header, diff, flags, components"
44+
45+
ignore:
46+
- "assets/**/*"
47+
- "data/**/*"
48+
- "models/**/*"
49+
- "postman_collections/**/*"
50+
- "schemas/**/*"
51+
- "tests/**/*"
52+
- "**/*.yml"
53+
- "**/*.json"
54+
- "**/*.txt"
55+
- "**/__pycache__/"
56+
- "**/*.pyc"
57+
- "LICENSE"
58+
- "main.py"
59+
- "README.md"

0 commit comments

Comments
 (0)