e2e test case: basic send *and receive* #757
Workflow file for this run
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-20.04 | |
steps: | |
- name: Checkout repositories and submodules | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Set Go version | |
run: | | |
source ./scripts/versions.sh | |
GO_VERSION=$GO_VERSION >> $GITHUB_ENV | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Install AvalancheGo Release | |
run: | | |
cd subnet-evm | |
BASEDIR=/tmp/e2e-test AVALANCHEGO_BUILD_PATH=/tmp/e2e-test/avalanchego ./scripts/install_avalanchego_release.sh | |
- name: Build Subnet-EVM Plugin Binary | |
run: | | |
cd subnet-evm | |
./scripts/build.sh /tmp/e2e-test/avalanchego/plugins/srEXiWaHuhNyGwPUi444Tu47ZEDwxTWrbQiuD7FmgSAQ6X7Dy | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Run E2E Tests | |
# Forge installs to BASE_DIR, but updates the PATH definition in $HOME/.bashrc | |
run: | | |
export PATH="$PATH:$GOPATH/bin" | |
AVALANCHEGO_BUILD_PATH=/tmp/e2e-test/avalanchego DATA_DIR=/tmp/e2e-test/data ./scripts/local/e2e_test.sh |