From 9bc9b711d5eda659b9c0e1760bb03f2815eb15a7 Mon Sep 17 00:00:00 2001 From: Dylan Vann Date: Thu, 21 Feb 2019 22:31:09 -0500 Subject: [PATCH] chore: Only use lcov report. --- .circleci/config.yml | 4 ++-- .gitignore | 3 +++ package.json | 3 +-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b6ad934..4f2d100 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/.gitignore b/.gitignore index c8eaf84..c9b146d 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,6 @@ example/android/app/src/main/gen # build react-native-fast-image-*.tgz + +# coverage reports +coverage diff --git a/package.json b/package.json index 0381365..ff21a19 100644 --- a/package.json +++ b/package.json @@ -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": {