Bump github.com/ava-labs/subnet-evm from 0.6.9-0.20240815191823-9f3608326298 to 0.6.10 #155
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
name: E2E Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
e2e_test: | |
name: e2e tests | |
runs-on: ${{ matrix.os }} | |
continue-on-error: true | |
strategy: | |
matrix: | |
suite: | |
[ | |
"\\[APM\\]", | |
"\\[Error handling\\]", | |
"\\[Key\\]", | |
"\\[Network\\]", | |
"\\[Package Management\\]", | |
"\\[Root\\]", | |
"\\[Local Subnet\\]", | |
"\\[Subnet Compatibility\\]", | |
"\\[Public Subnet\\]", | |
"\\[Subnet\\]", | |
"\\[Upgrade expect network failure\\]", | |
"\\[Upgrade public network\\]", | |
"\\[Upgrade local network\\]", | |
"\\[Node create\\]", | |
"\\[Node devnet\\]", | |
"\\[Docker\\]", | |
] | |
os: [ubuntu-latest, macos-14] | |
exclude: | |
- os: macos-14 | |
suite: "\\[Node create\\]" | |
- os: macos-14 | |
suite: "\\[Node devnet\\]" | |
- os: macos-14 | |
suite: "\\[Docker\\]" | |
- os: macos-14 | |
suite: "\\[Public Subnet\\]" | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: Install MacOSX dependencies | |
if: ${{ matrix.os == 'macos-14' }} | |
run: brew install python-setuptools | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "16.x" | |
- name: Yarn Install | |
uses: nick-fields/retry@v2 | |
with: | |
timeout_minutes: 10 | |
max_attempts: 3 | |
retry_on: error | |
command: yarn --cwd ./tests/e2e/hardhat | |
- name: Install Typescript | |
shell: bash | |
run: | | |
npm install -g typescript | |
npm install -g ts-node | |
npm install -g tsx | |
- name: Install Docker on MacOS | |
if: ${{ (matrix.os == 'macos-14') && (matrix.suite == '\\[Public Subnet\\]') }} | |
run: | | |
brew install docker | |
brew install colima | |
colima start --vm-type vz | |
sudo ln -s ~/.colima/default/docker.sock /var/run/docker.sock | |
- name: Generate SSH token for E2E tests | |
run: | | |
mkdir -p ~/.ssh && ssh-keygen -b 2048 -t rsa -f ~/.ssh/runner-avalanche-cli-keypair -q -N "" | |
echo "E2E_SSH_PUB_KEY<<EOF" >> $GITHUB_ENV | |
cat ~/.ssh/runner-avalanche-cli-keypair >> $GITHUB_ENV | |
echo "EOF" >> $GITHUB_ENV | |
- name: Set up SSH Agent | |
uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ env.E2E_SSH_PUB_KEY }} | |
- name: Run E2E tests | |
shell: bash | |
run: AVALANCHE_CLI_GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} LEDGER_SIM=true scripts/run.e2e.sh --filter "${{ matrix.suite }}" | |
- name: Upload Artifact | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: cli-logs-${{ matrix.os }} | |
path: | | |
~/.avalanche-cli/ | |
!~/.avalanche-cli/bin/ | |
!~/.avalanche-cli/snapshots | |
retention-days: 5 |