-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
6 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
ETHERSCAN_API_KEY=ABC123ABC123ABC123ABC123ABC123ABC1 | ||
ROPSTEN_URL=https://eth-ropsten.alchemyapi.io/v2/<YOUR ALCHEMY KEY> | ||
PRIVATE_KEY=0xabc123abc123abc123abc123abc123abc123abc123abc123abc123abc123abc1 | ||
FORK_MAINNET= | ||
QUICK_NODE_KEY= | ||
FORK_MAINNET=false | ||
QUICK_NODE_KEY= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ETHERSCAN_API_KEY=ABC123ABC123ABC123ABC123ABC123ABC1 | ||
PRIVATE_KEY=0xabc123abc123abc123abc123abc123abc123abc123abc123abc123abc123abc1 | ||
FORK_MAINNET=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,8 +29,6 @@ jobs: | |
build: | ||
runs-on: ubuntu-18.04 | ||
env: | ||
FORK_MAINNET: ${{ secrets.FORK_MAINNET }} | ||
QUICK_NODE_KEY: ${{ secrets.QUICK_NODE_KEY }} | ||
NODE_OPTIONS: --max-old-space-size=4096 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
@@ -46,15 +44,9 @@ jobs: | |
- name: Install solidity | ||
run: yarn global add [email protected] | ||
|
||
- name: "Create env file" | ||
run: | | ||
touch .env | ||
echo FORK_MAINNET=${{ secrets.FORK_MAINNET }} >> .env | ||
echo QUICK_NODE_KEY=${{ secrets.QUICK_NODE_KEY }} >> .env | ||
- name: Run hardhat compile and tests coverage | ||
run: | | ||
source .env | ||
source .env.test | ||
yarn hardhat:compile && yarn hardhat:coverage | ||
- name: Code Coverage Report | ||
|