Merge pull request #8 from zerodha/feat-not-found #40
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: 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 -p 1 -v ./... | |
- name: Run Coverage | |
run: go test -p 1 -v -cover ./... |