File tree Expand file tree Collapse file tree 1 file changed +13
-17
lines changed
Expand file tree Collapse file tree 1 file changed +13
-17
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22#
3- # E2E CI: installs PR candidate on openzeppelin-solidity and runs coverage
3+ # E2E CI: installs PR candidate on openzeppelin-contracts and runs coverage
44#
55
66set -o errexit
2020
2121echo " PR_PATH >>>>> $PR_PATH "
2222
23- npm install -g yarn;
24-
25- # Install sc-forks Zeppelin fork (temporarily). It's setup to
26- # consume the plugin and skips a small set of GSN tests that rely on
27- # the client being stand-alone. (See OZ issue #1918 for discussion)
28- git clone https://github.com/sc-forks/openzeppelin-contracts.git
23+ # Install Zeppelin
24+ git clone https://github.com/OpenZeppelin/openzeppelin-contracts.git
2925cd openzeppelin-contracts
3026
31- echo " >>>>> checkout provider-benchmarks branch"
32- git checkout provider-benchmarks
33-
3427# Swap installed coverage for PR branch version
35- echo " >>>>> yarn install"
36- yarn install
28+ echo " >>>>> npm install"
29+ npm install
30+
31+ echo " >>>>> npm uninstall solidity-coverage --save-dev"
32+ npm uninstall solidity-coverage --save-dev
3733
38- echo " >>>>> yarn remove --dev solidity-coverage "
39- yarn remove solidity-coverage - -dev
34+ echo " >>>>> npm add $PR_PATH --dev"
35+ npm install " $PR_PATH " --save -dev
4036
41- echo " >>>>> yarn add -dev $PR_PATH "
42- yarn add " $PR_PATH " --dev
37+ echo " >>>>> cat package.json "
38+ cat package.json
4339
4440# Track perf
45- time npx truffle run coverage --network development
41+ CI=false npm run coverage
You can’t perform that action at this time.
0 commit comments