Skip to content

Commit

Permalink
test(test-utils): add codecov coverage (element-plus#6051)
Browse files Browse the repository at this point in the history
  • Loading branch information
HerringtonDarkholme authored Feb 15, 2022
1 parent 40242b2 commit e57265e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 9 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
coverage:
status:
project:
default:
target: auto
threshold: 10%
comment:
layout: 'reach, diff, flags, files'
require_changes: true

0 comments on commit e57265e

Please sign in to comment.