Skip to content

Commit 5deb0ca

Browse files
committed
ci(github): use lcov coverage report
1 parent 2cb5217 commit 5deb0ca

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/test.yml

+1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ jobs:
2525
- name: Upload coverage report to Codecov
2626
uses: codecov/[email protected]
2727
with:
28+
files: coverage/lcov.info
2829
fail_ci_if_error: true

jest.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ module.exports = {
88
},
99
},
1010
testPathIgnorePatterns: ['dist'],
11+
coverageReporters: ['text', process.env.CI === 'true' ? 'lcovonly' : 'lcov'],
1112
};

0 commit comments

Comments
 (0)