Skip to content

Commit

Permalink
Add unit test workflow
Browse files Browse the repository at this point in the history
w/ extra runs for tracker test
  • Loading branch information
roysc committed Jul 8, 2024
1 parent 9fce1dc commit ec6b682
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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

0 comments on commit ec6b682

Please sign in to comment.