From 1922679f73fb017e34517bc6e7aa61e100bdfb8f Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sat, 31 Aug 2019 12:05:07 +0200 Subject: Add coverage to ci --- .circleci/config.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.circleci') diff --git a/.circleci/config.yml b/.circleci/config.yml index 451b37e..378162a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,7 +22,7 @@ jobs: # fallback to using the latest cache if no exact match is found - v1-dependencies- - - run: npm install + - run: npm install && npm install -g coveralls - save_cache: paths: @@ -31,3 +31,6 @@ jobs: # run tests! - run: npm test + + # upload coverage + - run: jest --coverage --coverageReporters=text-lcov | coveralls -- cgit 1.4.1