File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111jobs :
1212 test :
1313 runs-on : ubuntu-latest
14-
14+
1515 steps :
1616 - name : Checkout code
1717 uses : actions/checkout@v4
18- with :
19- # Fetch full history for better diff analysis
20- fetch-depth : 0
21-
18+
2219 - name : Install Foundry
2320 uses : foundry-rs/foundry-toolchain@v1
2421 with :
2522 version : stable
26-
23+
2724 - name : Setup pnpm
28- uses : pnpm/action-setup@v3
25+ uses : pnpm/action-setup@v4
2926 with :
3027 version : 10.17.1
31-
28+
3229 - name : Setup Node.js
3330 uses : actions/setup-node@v4
3431 with :
3532 node-version : ' 22'
36-
33+ cache : ' pnpm'
34+
3735 - name : Install dependencies
3836 run : pnpm install --frozen-lockfile
39-
40- - name : Run Forge tests
41- run : pnpm test
37+
38+ - name : Build
39+ run : forge build
40+ env :
41+ FOUNDRY_PROFILE : ci
42+
43+ - name : Run node-paymaster tests
44+ run : forge test --match-path 'test/unit-and-e2e/node-paymaster/**' --isolate
45+ env :
46+ FOUNDRY_PROFILE : ci
47+ RPC_84532 : https://sepolia.base.org
48+ RPC_11155111_TEST : https://0xrpc.io/sep
49+ TESTNET_PRIVATE_KEY : ${{ secrets.TESTNET_PRIVATE_KEY }}
50+
51+ - name : Run all other tests
52+ run : forge test --no-match-path 'test/unit-and-e2e/node-paymaster/**'
4253 env :
4354 FOUNDRY_PROFILE : ci
4455 RPC_84532 : https://sepolia.base.org
4556 RPC_11155111_TEST : https://0xrpc.io/sep
46- TESTNET_PRIVATE_KEY : ${{ secrets.TESTNET_PRIVATE_KEY }}
57+ TESTNET_PRIVATE_KEY : ${{ secrets.TESTNET_PRIVATE_KEY }}
You can’t perform that action at this time.
0 commit comments