diff --git a/.circleci/config.yml b/.circleci/config.yml index 483437d7b3..2dd60d4e78 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,8 +12,6 @@ jobs: working_directory: ~/repo steps: - - run: sudo npm i -g codeclimate-test-reporter - - checkout # Download and cache dependencies @@ -33,4 +31,5 @@ jobs: - run: yarn lint - run: yarn run test - - run: codeclimate-test-reporter < test/unit/coverage/lcov.info \ No newline at end of file + post: + - bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN \ No newline at end of file diff --git a/codecov.yaml b/codecov.yaml new file mode 100644 index 0000000000..35b384e8bd --- /dev/null +++ b/codecov.yaml @@ -0,0 +1,19 @@ +coverage: + precision: 2 + round: down + range: "70...100" + + status: + project: + default: on + patch: + default: on + changes: + default: off + +comment: + layout: "header, reach, diff, flags, files, footer" + behavior: default + require_changes: no + require_base: no + require_head: yes \ No newline at end of file