Skip to content

Commit 9bc9b71

Browse files
committed
chore: Only use lcov report.
1 parent 2cfa0cc commit 9bc9b71

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
command: yarn build
2222
- run:
2323
name: Test
24-
command: yarn test --coverage
24+
command: yarn test --coverage --coverageReporters lcov
2525
- run:
2626
name: Upload Test Coverage
27-
command: bash <(curl -s https://codecov.io/bash)
27+
command: bash <(curl -s https://codecov.io/bash) -f coverage/lcov.info
2828
- save_cache:
2929
paths:
3030
- ~/.cache/yarn

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ example/android/app/src/main/gen
3838

3939
# build
4040
react-native-fast-image-*.tgz
41+
42+
# coverage reports
43+
coverage

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
"lint": "yarn prettier --list-different",
2929
"prepare": "git submodule update --init --recursive",
3030
"semantic-release": "semantic-release",
31-
"test": "yarn run format && yarn run test:jest",
32-
"test:jest": "jest ./src/*.js",
31+
"test": "jest ./src/*.js",
3332
"prettier": "prettier './**/*.{js,d.ts,js.flow,yml}'"
3433
},
3534
"config": {

0 commit comments

Comments
 (0)