Skip to content

Commit 6761556

Browse files
authored
Use real Zeppelin (instead of fork) as E2E (#557)
1 parent be11494 commit 6761556

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

scripts/run-zeppelin.sh

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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

66
set -o errexit
@@ -20,26 +20,22 @@ fi
2020

2121
echo "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
2925
cd 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

0 commit comments

Comments
 (0)