Skip to content

Commit

Permalink
chore: take new test config for a spin
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed May 2, 2019
1 parent 7fd3aa0 commit d60b8cc
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .kokoro/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,14 @@ cd $(dirname $0)/..

npm install
npm test
# we're experimenting with c8 on this repo,
# to regenerate edit synth.py.
# ./node_modules/nyc/bin/nyc.js report

bash $KOKORO_GFILE_DIR/codecov.sh
COVERAGE_NODE=10
if npx check-node-version@3.3.0 --silent --node $COVERAGE_NODE; then
NYC_BIN=./node_modules/nyc/bin/nyc.js
if [ -f "$NYC_BIN" ]; then
$NYC_BIN report
fi
bash $KOKORO_GFILE_DIR/codecov.sh
else
echo "coverage is only reported for Node $COVERAGE_NODE"
fi

0 comments on commit d60b8cc

Please sign in to comment.