Skip to content

Commit

Permalink
chore: Only use lcov report.
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanVann committed Feb 22, 2019
1 parent 2cfa0cc commit 9bc9b71
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ example/android/app/src/main/gen

# build
react-native-fast-image-*.tgz

# coverage reports
coverage
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 9bc9b71

Please sign in to comment.