Skip to content

Commit ee12925

Browse files
committed
chore: use separate fork for core tests
1 parent a415dce commit ee12925

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.github/actions/core_tests/action.yml

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ inputs:
99

1010
runs:
1111
using: "composite"
12+
1213
steps:
1314
# Tests from core repo
1415
- uses: actions/checkout@v4
@@ -41,4 +42,5 @@ runs:
4142
shell: bash
4243
run: yarn test:integration:fork:mainnet
4344
env:
45+
MAINNET_RPC_URL: http://localhost:8555
4446
LOG_LEVEL: debug

.github/workflows/normal_vote_ci.yml

+12-4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ jobs:
2424
- 8545:8545
2525
env:
2626
ETH_RPC_URL: "https://mainnet.infura.io/v3/${{ secrets.WEB3_INFURA_PROJECT_ID }}"
27+
28+
hardhat-node-fork:
29+
image: ghcr.io/lidofinance/hardhat-node:2.22.19.3-shanghai
30+
ports:
31+
- 8555:8545
32+
env:
33+
ETH_RPC_URL: "http://localhost:8555"
34+
2735
steps:
2836
- uses: actions/checkout@v4
2937

@@ -38,10 +46,10 @@ jobs:
3846
infura: ${{ secrets.WEB3_INFURA_PROJECT_ID }}
3947
etherscan: ${{ secrets.ETHERSCAN_TOKEN }}
4048

41-
# - name: Core tests
42-
# uses: ./.github/actions/core_tests
43-
# with:
44-
# vote: "normal"
49+
- name: Core tests
50+
uses: ./.github/actions/core_tests
51+
with:
52+
vote: "normal"
4553

4654
- name: Scripts tests
4755
uses: ./.github/actions/scripts_tests

0 commit comments

Comments
 (0)