Merge pull request #461 from ava-labs/connection_metrics #1331
This file contains 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
# 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: 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: Install AvalancheGo Release | |
run: BASEDIR=/tmp/e2e-test AVALANCHEGO_BUILD_PATH=/tmp/e2e-test/avalanchego ./scripts/install_avalanchego_release.sh | |
- 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 |