mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
test(test-utils): add codecov coverage (#6051)
This commit is contained in:
parent
40242b2730
commit
e57265e801
6
.github/workflows/unit-test.yml
vendored
6
.github/workflows/unit-test.yml
vendored
@ -32,4 +32,8 @@ jobs:
|
||||
- name: Lint
|
||||
run: pnpm lint
|
||||
- name: Test
|
||||
run: pnpm test
|
||||
run: pnpm test -- --coverage
|
||||
- name: Upload to codecov.io
|
||||
uses: codecov/codecov-action@v2
|
||||
with:
|
||||
fail_ci_if_error: true
|
||||
|
9
codecov.yml
Normal file
9
codecov.yml
Normal file
@ -0,0 +1,9 @@
|
||||
coverage:
|
||||
status:
|
||||
project:
|
||||
default:
|
||||
target: auto
|
||||
threshold: 10%
|
||||
comment:
|
||||
layout: 'reach, diff, flags, files'
|
||||
require_changes: true
|
Loading…
Reference in New Issue
Block a user