Merge pull request #97 from kalbhor/master #154
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go Test | |
on: | |
push: | |
branches: [master, develop] | |
pull_request: | |
branches: [master, develop] | |
jobs: | |
test: | |
## We want to define a strategy for our job | |
strategy: | |
## this will contain a matrix of all of the combinations | |
## we wish to test again: | |
matrix: | |
go-version: [1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x] | |
platform: [ubuntu-latest, macos-latest, windows-latest] | |
## Defines the platform for each test run | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.15 | |
- name: Run Go Test | |
run: go test -v ./... |