react/scripts/circleci/test_coverage.sh

9 lines
156 B
Bash
Raw Normal View History

#!/bin/bash
set -e
./node_modules/.bin/grunt jest:coverage
if [ -z $CI_PULL_REQUEST ]; then
cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
fi