Skip to content

Commit

Permalink
ci: changes
Browse files Browse the repository at this point in the history
  • Loading branch information
romanagureev committed May 31, 2024
1 parent c4f618f commit 750ed6d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/forked.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v1

- name: Install Hardhat
run: npm install --save-dev hardhat
- name: Install Ganache
run: npm install

- name: Setup Python 3.11
uses: actions/setup-python@v2
Expand All @@ -38,8 +38,5 @@ jobs:
- name: Install Requirements
run: pip install -r requirements.txt

- name: Run node
run: npx hardhat node --fork https://mainnet.infura.io/v3/$WEB3_INFURA_PROJECT_ID

- name: Run Tests
run: brownie test tests/forked/ --network mainnet-fork -x
7 changes: 2 additions & 5 deletions .github/workflows/unitary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v1

- name: Install Hardhat
run: npm install --save-dev hardhat
- name: Install Ganache
run: npm install

- name: Setup Python 3.11
uses: actions/setup-python@v2
Expand All @@ -38,8 +38,5 @@ jobs:
- name: Install Requirements
run: pip install -r requirements.txt

- name: Run node
run: npx hardhat node

- name: Run Tests
run: brownie test -x --ignore=tests/forked/
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"scripts": {
"preinstall": "npm i -g ganache[email protected]"
"preinstall": "npm i -g ganache@7.9.2"
}
}

0 comments on commit 750ed6d

Please sign in to comment.