Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Add test coverage to code climate
Browse files Browse the repository at this point in the history
  • Loading branch information
Dom Harrington committed Oct 25, 2017
1 parent 3f82d02 commit a07565d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
docker:
# specify the version you desire here
- image: circleci/node:8.4.0
environment:
CC_TEST_REPORTER_ID: 3597ab16382afb6495a5f38a3a11efd30cbe10084edfa4f1c512e9b77267de3b

working_directory: ~/repo

Expand All @@ -29,4 +31,8 @@ jobs:
key: v1-dependencies-{{ checksum "package.json" }}

# run tests!
- run: curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- run: chmod +x ./cc-test-reporter
- run: ./cc-test-reporter before-build
- run: npm test
- run: ./cc-test-reporter after-build -t lcov --exit-code $?

0 comments on commit a07565d

Please sign in to comment.