Skip to content

feat: add e2e test suite with evm contracts deployments #23

feat: add e2e test suite with evm contracts deployments

feat: add e2e test suite with evm contracts deployments #23

Workflow file for this run

name: e2e
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
paths:
- "**.rs"
- "**.go"
- "**.toml"
- "**.lock"
- "**.mod"
- "**.sum"
- "**.sol"
- ".github/workflows/e2e.yml"
env:
FOUNDRY_PROFILE: ci
FOUNDRY_VERSION: nightly
permissions:
contents: read
jobs:
e2e:
strategy:
fail-fast: false
matrix:
test:
- TestWithSolverTestSuite/TestDeploy
name: ${{ matrix.test }}
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Update hyperlane-monorepo submodule to specific branch
run: |
git submodule update --init --recursive
cd tests/e2e/lib/hyperlane-monorepo
git checkout solver-e2etest-changes
cd solidity
yarn install --frozen-lockfile
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: ${{ env.FOUNDRY_VERSION }}
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.22"
check-latest: true
- name: Install dependencies and run E2E Tests
run: |
make tidy
make e2e-test
- name: Upload run-latest.json // this contains info about all the transactions that were submitted to chain in e2e test
if: always()
uses: actions/upload-artifact@v4
with:
name: e2e-test-artifacts
path: |
broadcast/**/run-latest.json
retention-days: 7