-
Notifications
You must be signed in to change notification settings - Fork 2
57 lines (50 loc) · 1.49 KB
/
e2e.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
47
48
49
50
51
52
53
54
55
56
57
name: e2e
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
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
- 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
git submodule update --init --recursive
cd tests/e2e/lib/openzeppelin-contracts && git checkout v4.8.0
cd ../openzeppelin-contracts-upgradeable && git checkout v4.8.0
cd ../hyperlane-monorepo/solidity && yarn install --frozen-lockfile
cd ../../../../.. && make e2e-test
- name: List broadcast directory
run: |
ls -R broadcast/ || echo "Broadcast directory not found"
- name: Upload run-latest.json // this contains info about all the transactions that were submitted to chain in e2e test
uses: actions/upload-artifact@v4
with:
name: e2e-test-artifacts
path: |
broadcast/**/run-latest.json
retention-days: 7