Update Go workflow tests. #43
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: | |
runs-on: ubuntu-20.04 | |
name: Run tests | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '>=1.17.0' | |
- name: Run Test | |
run: go test -p 1 -v ./... | |
- name: Run Coverage | |
run: go test -p 1 -v -cover ./... |