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.
20 lines
445 B
20 lines
445 B
5 years ago
|
#!/usr/bin/env bash
|
||
|
#
|
||
|
# E2E: runs sc-forks/hegic/contracts-v1 coverage and publishes html report in netlify
|
||
|
# for CI deployment preview. This is the netlify "build" step.
|
||
|
#
|
||
|
|
||
|
set -o errexit
|
||
|
|
||
|
# Clone target
|
||
|
git clone https://github.com/sc-forks/contracts-v1.git
|
||
|
cd contracts-v1
|
||
|
|
||
|
# Install solidity-coverage @ current commit
|
||
|
yarn
|
||
|
yarn add --dev https://github.com/sc-forks/solidity-coverage.git#$COMMIT_REF
|
||
|
|
||
|
cat package.json
|
||
|
|
||
|
npm run coverage
|