-
Notifications
You must be signed in to change notification settings - Fork 35
46 lines (41 loc) · 1.31 KB
/
integration-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Integration Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
integration-tests:
runs-on:
- runs-on
- cpu=16
- ram=64
- family=m7a+m7i-flex
- image=ubuntu22-full-x64
- run-id=${{ github.run_id }}
steps:
- uses: actions/checkout@v4
- name: Setup CI
uses: ./.github/actions/setup
- name: OP Sepolia cost estimator on recent block range
run: |
RUST_LOG=info cargo run --bin cost-estimator --release -- --rolling
env:
L2_NODE_RPC: ${{ secrets.L2_NODE_RPC }}
L1_RPC: ${{ secrets.L1_RPC }}
L1_BEACON_RPC: ${{ secrets.L1_BEACON_RPC }}
L2_RPC: ${{ secrets.L2_RPC }}
- name: Run multi script
run: |
cargo test --test "multi" --release
env:
L2_NODE_RPC: ${{ secrets.L2_NODE_RPC }}
L1_RPC: ${{ secrets.L1_RPC }}
L1_BEACON_RPC: ${{ secrets.L1_BEACON_RPC }}
L2_RPC: ${{ secrets.L2_RPC }}
REPO_OWNER: ${{ github.repository_owner }}
REPO_NAME: ${{ github.event.repository.name }}
PR_NUMBER: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
POST_TO_GITHUB: ${{ github.event_name == 'pull_request' }}