Skip to content

Commit

Permalink
fix: add a test stage that runs on windows (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dj Gilcrease authored Dec 8, 2020
1 parent f130ce4 commit db715ee
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,26 @@ on:
pull_request:

jobs:
WindowsTest:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
- name: Cache Go modules
uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Test
run: go test -v -failfast -race -coverpkg=./... -covermode=atomic -coverprofile=coverage.txt ./...
build:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit db715ee

Please sign in to comment.