Files
react/scripts/circleci/test_coverage.sh
T

9 lines
143 B
Bash
Executable File

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