Skip to content

Commit

Permalink
add tests workflow for github actions (#60)
Browse files Browse the repository at this point in the history
* add tests workflow for github actions

* comment out windows and go 1.13 version

* comment on push
  • Loading branch information
dmolina79 authored Jun 23, 2020
1 parent 5dea127 commit eaa3654
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#on: [push, pull_request]
on: [pull_request]
name: Test
jobs:
test:
strategy:
matrix:
#go-version: [1.13.x, 1.14.x]
go-version: [1.14.x]
#platform: [ubuntu-latest, macos-latest, windows-latest]
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: go test -race ./...

0 comments on commit eaa3654

Please sign in to comment.