Skip to content

Commit e1e9a6b

Browse files
committed
ci: add Codecov configuration file for coverage reporting
1 parent cccc170 commit e1e9a6b

File tree

1 file changed

+86
-0
lines changed

1 file changed

+86
-0
lines changed

codecov.yml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# -------------------------------------------------------------------------------------
2+
#
3+
# Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
4+
#
5+
# WSO2 LLC. licenses this file to you under the Apache License,
6+
# Version 2.0 (the "License"); you may not use this file except
7+
# in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing,
13+
# software distributed under the License is distributed on an
14+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
# KIND, either express or implied. See the License for the
16+
# specific language governing permissions and limitations
17+
# under the License.
18+
#
19+
# --------------------------------------------------------------------------------------
20+
21+
# This workflow will run the Codecov action on the repository.
22+
23+
codecov:
24+
require_ci_to_pass: yes
25+
notify:
26+
wait_for_ci: yes
27+
28+
coverage:
29+
status:
30+
project:
31+
default:
32+
target: 50%
33+
express:
34+
target: 50%
35+
flags:
36+
- "@asgardeo/express"
37+
i18n:
38+
target: 50%
39+
flags:
40+
- "@asgardeo/i18n"
41+
javascript:
42+
target: 50%
43+
flags:
44+
- "@asgardeo/javascript"
45+
nextjs:
46+
target: 50%
47+
flags:
48+
- "@asgardeo/nextjs"
49+
node:
50+
target: 50%
51+
flags:
52+
- "@asgardeo/node"
53+
nuxt:
54+
target: 50%
55+
flags:
56+
- "@asgardeo/nuxt"
57+
react:
58+
target: 50%
59+
flags:
60+
- "@asgardeo/react"
61+
"react-router":
62+
target: 50%
63+
flags:
64+
- "@asgardeo/react-router"
65+
vue:
66+
target: 50%
67+
flags:
68+
- "@asgardeo/vue"
69+
70+
comment:
71+
layout: "diff, flags, files"
72+
behavior: default
73+
require_changes: false
74+
require_base: yes
75+
require_head: yes
76+
branches: null
77+
78+
flags:
79+
"@asgardeo/js":
80+
paths:
81+
- packages/core/src/**/*.ts
82+
carryforward: false
83+
"@asgardeo/react":
84+
paths:
85+
- packages/react/src/**/*.ts
86+
carryforward: false

0 commit comments

Comments
 (0)