eth-iterator-utils/.github/workflows/test.yml
Roy Crihfield ec6b6821b9
Some checks failed
Test / Run unit tests (pull_request) Successful in 3m27s
Test / Run unit tests (push) Has been cancelled
Add unit test workflow
w/ extra runs for tracker test
2024-07-08 14:52:50 +08:00

24 lines
425 B
YAML

name: Test
on:
pull_request:
branches: '*'
push:
branches:
- main
jobs:
test:
name: Run unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v3
with:
go-version-file: go.mod
check-latest: true
- name: Run unit tests
run: |
go test -v -p 1 ./...
go test -v ./tracker -count 20