-
Notifications
You must be signed in to change notification settings - Fork 7
79 lines (66 loc) · 1.8 KB
/
ev_deployer.yml
File metadata and controls
79 lines (66 loc) · 1.8 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: EV Deployer CI
on:
push:
paths:
- 'Cargo.toml'
- 'Cargo.lock'
- '.github/workflows/ev_deployer.yml'
- 'contracts/src/**'
- 'contracts/foundry.toml'
- 'bin/ev-deployer/**'
pull_request:
paths:
- 'Cargo.toml'
- 'Cargo.lock'
- '.github/workflows/ev_deployer.yml'
- 'contracts/src/**'
- 'contracts/foundry.toml'
- 'bin/ev-deployer/**'
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
verify-bytecodes:
name: EV Deployer bytecode verification
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Run bytecode verification tests
run: cargo test -p ev-deployer -- --ignored --test-threads=1
unit-tests:
name: EV Deployer unit tests
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Run unit tests
run: cargo test -p ev-deployer
e2e-genesis:
name: EV Deployer e2e genesis test
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Run e2e genesis test
run: bash bin/ev-deployer/tests/e2e_genesis.sh