Skip to content

Commit

Permalink
chore: add github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rhnvrm committed Jun 22, 2021
1 parent 0d2f4c3 commit 30121c9
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Run Tests

# Triggers the workflow on push or pull request events
on: [push, pull_request]

jobs:
test:
strategy:
matrix:
go: ["1.13", "1.14", "1.15", "1.16"]

runs-on: ubuntu-20.04

name: Go ${{ matrix.go }} Tests
steps:
- uses: actions/checkout@v2

- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}

- name: Run Test
run: go test -v ./...

- name: Run Coverage
run: go test -v -cover ./...

0 comments on commit 30121c9

Please sign in to comment.