From 2c3f3349b529a9479304eedc37402b4f91ae9b39 Mon Sep 17 00:00:00 2001 From: rschamp <rschamp@media.mit.edu> Date: Tue, 27 Aug 2019 10:18:00 -0400 Subject: [PATCH] Add coverage report --- .circleci/config.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c621864bd..edc739df4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,20 +40,22 @@ jobs: name: Unit environment: JEST_JUNIT_OUTPUT_DIR: test-results/unit - command: npm run test:unit -- --reporters="default" --reporters="jest-junit" + command: npm run test:unit -- --reporters="default" --reporters="jest-junit" --coverage --coverageReporters=text --coverageReporters=lcov + - store_artifacts: + path: coverage - run: name: Build command: npm run build + - store_artifacts: + path: build - run: name: Integration environment: JEST_JUNIT_OUTPUT_DIR: test-results/integration command: npm run test:integration -- --reporters="default" --reporters="jest-junit" - - store_test_results: path: test-results - - store_artifacts: - path: build + - run: greenkeeper-lockfile-upload -- GitLab