Skip to content

Commit 9c3dd8a

Browse files
committed
chore(tests): codecov integration
- https://codecov.io Signed-off-by: Lexus Drumgold <[email protected]>
1 parent d84d88a commit 9c3dd8a

File tree

2 files changed

+111
-0
lines changed

2 files changed

+111
-0
lines changed

.codecov.yml

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
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: internal
28+
name: internal
29+
paths:
30+
- src/internal/*.ts
31+
- component_id: regex
32+
name: regex
33+
paths:
34+
- src/regex/*.ts
35+
- component_id: utils
36+
name: utils
37+
paths:
38+
- src/utils/*.ts
39+
40+
coverage:
41+
precision: 2
42+
range: 90..100
43+
round: nearest
44+
status:
45+
changes:
46+
default:
47+
branches:
48+
- dependabot/*
49+
- feat/*
50+
- hotfix/*
51+
- main
52+
- release/*
53+
if_ci_failed: error
54+
if_not_found: success
55+
informational: false
56+
only_pulls: false
57+
patch:
58+
default:
59+
branches:
60+
- dependabot/*
61+
- feat/*
62+
- hotfix/*
63+
- main
64+
- release/*
65+
if_ci_failed: error
66+
if_not_found: success
67+
informational: false
68+
only_pulls: false
69+
target: 100%
70+
threshold: 0%
71+
project:
72+
default:
73+
branches:
74+
- dependabot/*
75+
- feat/*
76+
- hotfix/*
77+
- main
78+
- release/*
79+
if_ci_failed: error
80+
if_not_found: success
81+
informational: false
82+
only_pulls: false
83+
target: 100%
84+
threshold: 0%
85+
86+
flags:
87+
node19:
88+
carryforward: false
89+
paths:
90+
- src/
91+
node18:
92+
carryforward: false
93+
paths:
94+
- src/
95+
node16:
96+
carryforward: false
97+
paths:
98+
- src/
99+
node14:
100+
carryforward: false
101+
paths:
102+
- src/
103+
104+
github_checks:
105+
annotations: true
106+
107+
ignore:
108+
- '**/__mocks__/**'
109+
- '**/__tests__/**'
110+
- '**/index.ts'

README.md

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

33
[![npm](https://img.shields.io/npm/v/@flex-development/ext-regex.svg)](https://npmjs.com/package/@flex-development/ext-regex)
4+
[![codecov](https://codecov.io/gh/flex-development/ext-regex/branch/main/graph/badge.svg?token=P5v3y7X9FG)](https://codecov.io/gh/flex-development/ext-regex)
45
[![module type: esm](https://img.shields.io/badge/module%20type-esm-brightgreen)](https://github.com/voxpelli/badges-cjs-esm)
56
[![license](https://img.shields.io/github/license/flex-development/ext-regex.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)