Skip to content

Commit b77a3e6

Browse files
authored
chore: codecov.yml 폴더 변경
1 parent b525a99 commit b77a3e6

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/codecov.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Run tests and upload coverage
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- develop-fe
7+
8+
jobs:
9+
test:
10+
name: Run tests and collect coverage
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
17+
18+
- name: Set up Node
19+
uses: actions/setup-node@v4
20+
21+
- name: Install dependencies
22+
run: npm ci
23+
24+
- name: Run tests
25+
run: npx jest --coverage
26+
27+
- name: Upload results to Codecov
28+
uses: codecov/codecov-action@v5
29+
with:
30+
files: ./coverage/lcov.info
31+
flags: unittests
32+
name: codecov-coverage
33+
fail_ci_if_error: true

0 commit comments

Comments
 (0)