test(test-utils): add codecov coverage (#6051)

This commit is contained in:
Herrington Darkholme 2022-02-15 00:08:20 -05:00 committed by GitHub
parent 40242b2730
commit e57265e801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View File

@ -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
View File

@ -0,0 +1,9 @@
coverage:
status:
project:
default:
target: auto
threshold: 10%
comment:
layout: 'reach, diff, flags, files'
require_changes: true