Localnet Test #148
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) 2024 Hemi Labs, Inc. | |
# Use of this source code is governed by the MIT License, | |
# which can be found in the LICENSE file. | |
# GitHub Actions workflow to run e2e network tests. | |
name: "Localnet Test" | |
on: | |
workflow_dispatch: # Manually triggered | |
concurrency: | |
group: "${{ github.workflow }}-${{ github.event.number || github.ref }}" | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
test: | |
name: "Test" | |
runs-on: "ubuntu-latest" | |
strategy: | |
matrix: | |
go-version: [ "1.23.x" ] | |
steps: | |
- name: "Checkout repository" | |
uses: actions/checkout@v4 | |
- name: "Setup Go ${{ matrix.go-version }}" | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "${{ matrix.go-version }}" | |
cache: true | |
check-latest: true | |
- name: "Download and verify dependencies" | |
run: make deps | |
- name: "run localnet" | |
run: docker compose -f ./e2e/docker-compose.yml up -d | |
- name: "get localnet stats" | |
working-directory: ./e2e/monitor | |
# XXX should this be a make command? | |
run: go test -v ./... |