Add CI for tests (#18)
This commit is contained in:
parent
fa738c0bdf
commit
06e6fa3fd1
|
@ -0,0 +1,20 @@
|
|||
on: [push, pull_request]
|
||||
name: Tests
|
||||
jobs:
|
||||
test:
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: [1.19.x]
|
||||
# Disabled: windows-latest
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Run tests
|
||||
run: |
|
||||
go test ./... -v
|
Loading…
Reference in New Issue