feat(ev-deployer): part 4 – integrate ev-deployer into ev-dev #168
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |