chore: Only use lcov report.

This commit is contained in:
Dylan Vann 2019-02-21 22:31:09 -05:00
parent 2cfa0cccae
commit 9bc9b711d5
3 changed files with 6 additions and 4 deletions

View File

@ -21,10 +21,10 @@ jobs:
command: yarn build
- run:
name: Test
command: yarn test --coverage
command: yarn test --coverage --coverageReporters lcov
- run:
name: Upload Test Coverage
command: bash <(curl -s https://codecov.io/bash)
command: bash <(curl -s https://codecov.io/bash) -f coverage/lcov.info
- save_cache:
paths:
- ~/.cache/yarn

3
.gitignore vendored
View File

@ -38,3 +38,6 @@ example/android/app/src/main/gen
# build
react-native-fast-image-*.tgz
# coverage reports
coverage

View File

@ -28,8 +28,7 @@
"lint": "yarn prettier --list-different",
"prepare": "git submodule update --init --recursive",
"semantic-release": "semantic-release",
"test": "yarn run format && yarn run test:jest",
"test:jest": "jest ./src/*.js",
"test": "jest ./src/*.js",
"prettier": "prettier './**/*.{js,d.ts,js.flow,yml}'"
},
"config": {