Code coverage for Solidity smart-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
solidity-coverage/scripts/ci.sh

22 lines
460 B

#!/usr/bin/env bash
10 months ago
# Toggles optimizer on/off
VIAR_IR=$VIA_IR
# Minimize integration test output
SILENT=true
node --max-old-space-size=4096 \
./node_modules/.bin/nyc \
--reporter=lcov \
--exclude '**/sc_temp/**' \
--exclude '**/test/**/' \
--exclude 'plugins/resources/matrix.js' \
-- \
mocha \
test/units/* test/integration/* \
--require "test/util/mochaRootHook.js" \
--timeout 100000 \
--no-warnings \
--exit \