Skip to content

Commit

Permalink
Run tests on ubuntu and windows
Browse files Browse the repository at this point in the history
  • Loading branch information
o1egl committed Mar 14, 2021
1 parent a3044b1 commit c359e19
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,20 @@ jobs:
version: v1.37.1
skip-go-installation: true
test:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Test
run: go test -race -timeout=60s -v -coverprofile=coverage.txt -covermode=atomic ./...
run: go test -race -timeout=60s -v -coverprofile="coverage.txt" -covermode=atomic ./...
- uses: codecov/codecov-action@v1
if: ${{ matrix.os == 'ubuntu-latest' }}
with:
file: ./coverage.txt
release:
Expand Down

0 comments on commit c359e19

Please sign in to comment.