Skip to content

Commit 8cf3002

Browse files
committed
Codecov config
1 parent 580df9b commit 8cf3002

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
uses: codecov/codecov-action@v1
2626
with:
2727
token: ${{ secrets.CODECOV_TOKEN }}
28+
flags: pest
2829
file: test-results/pest.xml
2930

3031
larastan:
@@ -66,6 +67,7 @@ jobs:
6667
uses: codecov/codecov-action@v1
6768
with:
6869
token: ${{ secrets.CODECOV_TOKEN }}
70+
flags: jest
6971
file: test-results/jest/clover.xml
7072

7173
# phpcs:

codecov.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
coverage:
2+
status:
3+
project:
4+
default:
5+
target: 25%
6+
pest:
7+
target: 25%
8+
flags:
9+
- pest
10+
jest:
11+
target: 25%
12+
flags:
13+
- jest
14+
15+
flags:
16+
pest:
17+
paths:
18+
- src/
19+
carryforward: false
20+
jest:
21+
paths:
22+
- js-src/
23+
carryforward: false

0 commit comments

Comments
 (0)