From f0f317a1ca2df0322255e352cf8769dfb4e83723 Mon Sep 17 00:00:00 2001 From: Stephen Chudleigh Date: Thu, 19 Dec 2024 12:35:25 -0600 Subject: [PATCH] more logging of coverage --- .circleci/config.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ef9df406..530d6de4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -107,8 +107,15 @@ jobs: --format RspecJunitFormatter \ --out /tmp/test-results/rspec.xml \ $(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings) - - head coverage/coverage.json + printf 'ls -l coverage\n' + ls -l coverage/ + + if [[ -s coverage/coverage.json ]] + then + printf "coverage file exists\n" + else + printf "coverage file does not exist\n" + fi ./cc-test-reporter format-coverage coverage/coverage.json \ --input-type simplecov \ --output coverage/codeclimate.rspec.3.2.4.json