Skip to content

Commit 8a1656a

Browse files
committed
chore: fix correspondence to the base branch
1 parent db75162 commit 8a1656a

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

.github/actions/scripts_tests/action.yml renamed to .github/actions/brownie_fork_tests/actioin.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ inputs:
2222
runs:
2323
using: "composite"
2424
steps:
25-
- uses: actions/checkout@v4
26-
with:
27-
path: scripts
28-
2925
- name: Install poetry
3026
shell: bash
3127
run: |
@@ -40,13 +36,21 @@ runs:
4036
python-version: "3.10"
4137
cache: poetry
4238

39+
- name: Setup node.js version
40+
uses: actions/setup-node@v3
41+
with:
42+
node-version: 18.x
43+
cache: "yarn"
44+
4345
- name: Install poetry requirements
44-
working-directory: scripts
4546
shell: bash
4647
run: poetry install
4748

49+
- name: Install ganache
50+
shell: bash
51+
run: yarn install --frozen-lockfile
52+
4853
- name: Import network config to connect brownie with local Ganache
49-
working-directory: scripts
5054
shell: bash
5155
run: poetry run brownie networks import network-config.yaml True
5256

@@ -66,11 +70,10 @@ runs:
6670
echo ${{ inputs.vote }}
6771
6872
- name: Run tests
69-
working-directory: scripts
7073
shell: bash
7174
run: >
7275
${{ inputs.command }}
7376
env:
7477
WEB3_INFURA_PROJECT_ID: ${{ inputs.infura }}
7578
ETHERSCAN_TOKEN: ${{ inputs.etherscan }}
76-
ETH_RPC_URL: "https://mainnet.infura.io/v3/${{ inputs.infura }}"
79+
ETH_RPC_URL: "https://mainnet.infura.io/v3/${{ inputs.infura }}"

.github/workflows/normal_vote_ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: Brownie fork NORMAL tests 1
1515
runs-on: "ubuntu-latest"
1616
timeout-minutes: 100
17-
17+
1818
steps:
1919
- uses: actions/checkout@v3
2020
- name: Main action
@@ -29,7 +29,7 @@ jobs:
2929
name: Brownie fork NORMAL tests 2
3030
runs-on: "ubuntu-latest"
3131
timeout-minutes: 100
32-
32+
3333
steps:
3434
- uses: actions/checkout@v3
3535
- name: Main action
@@ -53,4 +53,4 @@ jobs:
5353
vote: "normal"
5454
infura: ${{ secrets.WEB3_INFURA_PROJECT_ID }}
5555
etherscan: ${{ secrets.ETHERSCAN_TOKEN }}
56-
command: "make test-3/3"
56+
command: "make test-3/3"

docker-init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ if [ ! -e /root/inited ]; then
3131
CI=true yarn --immutable
3232
yarn compile
3333
cp .env.example .env
34-
fi
34+
fi

0 commit comments

Comments
 (0)