Fix html report function highlighting / add netlify deploy preview (#518)
parent
f1fb8a0f49
commit
2af43a3423
@ -0,0 +1,19 @@ |
|||||||
|
#!/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 |
Loading…
Reference in new issue