This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
feat: Add missing event attributes needed by agents #28
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: Run Unit Tests | |
on: | |
pull_request: | |
# Ensures that only a single workflow per PR will run at a time. Cancels in-progress jobs if new commit is pushed. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test-unit: | |
name: unit-tests | |
#runs-on: [self-hosted, linux] | |
runs-on: ubuntu-latest | |
steps: | |
# Install and setup go | |
- name: Set up Go 1.19 | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.19 | |
- name: checkout hyperlane-cosmos | |
uses: actions/checkout@v3 | |
# run tests | |
- name: run unit tests | |
# -short flag purposefully omitted because there are some longer unit tests | |
run: go test -race -timeout 10m -failfast -p 2 $(go list ./... | grep -v /cmd | grep -v /examples | grep -v /interchaintest) |