Skip to content

Bump github.com/ava-labs/avalanche-network-runner from 1.8.3-0.20240815175406-50423422fb5b to 1.8.3 #124

Bump github.com/ava-labs/avalanche-network-runner from 1.8.3-0.20240815175406-50423422fb5b to 1.8.3

Bump github.com/ava-labs/avalanche-network-runner from 1.8.3-0.20240815175406-50423422fb5b to 1.8.3 #124

Workflow file for this run

name: Unit Tests
on:
push:
branches:
- main
pull_request:
workflow_call:
jobs:
unit_test:
name: Golang Unit Tests (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, macos-14]
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 Go dependencies
run: go mod download
- name: Build and Test
run: |
scripts/build.sh
go test -v -coverprofile=coverage.out $(go list ./... | grep -v /tests/ | grep -v '/sdk/')
go tool cover -func=coverage.out
env:
CGO_CFLAGS: "-O -D__BLST_PORTABLE__" # Set the CGO flags to use the portable version of BLST