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