-
Notifications
You must be signed in to change notification settings - Fork 19
53 lines (42 loc) · 1.42 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
# Copyright (C) 2023, Ava Labs, Inc. All rights reserved.
# See the file LICENSE for licensing terms.
name: E2E Tests
on:
push:
branches:
- main
pull_request:
branches:
- "**"
jobs:
e2e_tests:
name: e2e_tests
runs-on: ubuntu-22.04
steps:
- name: Checkout awm-relayer repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Install AvalancheGo Release
run: BASEDIR=/tmp/e2e-test AVALANCHEGO_BUILD_PATH=/tmp/e2e-test/avalanchego ./scripts/install_avalanchego_release.sh
- name: Set subnet-evm version
run: |
source ./scripts/versions.sh
echo SUBNET_EVM_VERSION=$SUBNET_EVM_VERSION >> $GITHUB_ENV
- name: Checkout subnet-evm repository
uses: actions/checkout@v4
with:
repository: ava-labs/subnet-evm
ref: ${{ env.SUBNET_EVM_VERSION }}
- name: Build Subnet-EVM Plugin Binary
run: ./scripts/build.sh /tmp/e2e-test/avalanchego/plugins/srEXiWaHuhNyGwPUi444Tu47ZEDwxTWrbQiuD7FmgSAQ6X7Dy
- name: Checkout awm-relayer repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Run E2E Tests
run: AVALANCHEGO_BUILD_PATH=/tmp/e2e-test/avalanchego DATA_DIR=/tmp/e2e-test/data ./scripts/e2e_test.sh