Skip to content

Commit 529c348

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

File tree

2 files changed

+96
-0
lines changed

2 files changed

+96
-0
lines changed

.codecov.yml

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

README.md

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

33
[![npm](https://img.shields.io/npm/v/@flex-development/decorator-regex.svg)](https://npmjs.com/package/@flex-development/decorator-regex)
4+
[![codecov](https://codecov.io/github/flex-development/decorator-regex/branch/main/graph/badge.svg?token=NO3rVfx9OF)](https://codecov.io/github/flex-development/decorator-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/decorator-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)