Skip to content

Commit fb5eeb7

Browse files
committed
chore(tests): codecov integration
- https://codecov.io Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
1 parent 6449dcb commit fb5eeb7

File tree

2 files changed

+113
-0
lines changed

2 files changed

+113
-0
lines changed

.codecov.yml

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
# CODECOV CONFIGURATION
2+
# https://docs.codecov.com/docs/codecovyml-reference
3+
4+
---
5+
codecov:
6+
notify:
7+
after_n_builds: 4
8+
wait_for_ci: true
9+
require_ci_to_pass: true
10+
11+
comment:
12+
after_n_builds: 4
13+
behavior: default
14+
layout: header,diff,flags,components,tree,footer
15+
require_base: false
16+
require_changes: false
17+
require_head: true
18+
show_carryforward_flags: true
19+
show_critical_paths: true
20+
21+
component_management:
22+
default_rules:
23+
statuses:
24+
- type: project
25+
target: 100%
26+
individual_components:
27+
- component_id: config
28+
name: config
29+
paths:
30+
- src/config/*.ts
31+
- component_id: utils
32+
name: utils
33+
paths:
34+
- src/utils/*.ts
35+
36+
coverage:
37+
precision: 2
38+
range: 90..100
39+
round: nearest
40+
status:
41+
changes:
42+
default:
43+
branches:
44+
- dependabot/*
45+
- feat/*
46+
- hotfix/*
47+
- main
48+
- release/*
49+
if_ci_failed: error
50+
if_not_found: success
51+
informational: false
52+
only_pulls: false
53+
patch:
54+
default:
55+
branches:
56+
- dependabot/*
57+
- feat/*
58+
- hotfix/*
59+
- main
60+
- release/*
61+
if_ci_failed: error
62+
if_not_found: success
63+
informational: false
64+
only_pulls: false
65+
target: 100%
66+
threshold: 0%
67+
project:
68+
default:
69+
branches:
70+
- dependabot/*
71+
- feat/*
72+
- hotfix/*
73+
- main
74+
- release/*
75+
if_ci_failed: error
76+
if_not_found: success
77+
informational: false
78+
only_pulls: false
79+
target: 100%
80+
threshold: 0%
81+
82+
flags:
83+
node19:
84+
carryforward: false
85+
paths:
86+
- src/
87+
node18:
88+
carryforward: false
89+
paths:
90+
- src/
91+
node16:
92+
carryforward: false
93+
paths:
94+
- src/
95+
node14:
96+
carryforward: false
97+
paths:
98+
- src/
99+
100+
github_checks:
101+
annotations: true
102+
103+
ignore:
104+
- '**/__mocks__/**'
105+
- '**/__tests__/**'
106+
- '**/index.ts'
107+
- src/interfaces/
108+
- src/types/
109+
110+
profiling:
111+
critical_files_paths:
112+
- ./src/config/*.ts

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# commitlint-config
22

33
[![npm](https://img.shields.io/npm/v/@flex-development/commitlint-config.svg)](https://npmjs.com/package/@flex-development/commitlint-config)
4+
[![codecov](https://codecov.io/gh/flex-development/commitlint-config/branch/main/graph/badge.svg?token=hJhCIS5UIM)](https://codecov.io/gh/flex-development/commitlint-config)
45
[![module type: cjs+esm](https://img.shields.io/badge/module%20type-cjs%2Besm-brightgreen)](https://github.com/voxpelli/badges-cjs-esm)
56
[![license](https://img.shields.io/github/license/flex-development/commitlint-config.svg)](LICENSE.md)
67
[![conventional commits](https://img.shields.io/badge/-conventional%20commits-fe5196?logo=conventional-commits&logoColor=ffffff)](https://conventionalcommits.org/)

0 commit comments

Comments
 (0)