-
-
Notifications
You must be signed in to change notification settings - Fork 511
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.github/workflows: extend testing matrix
- Loading branch information
1 parent
f5a47fc
commit 7ab2008
Showing
3 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,22 @@ | ||
name: Go tests | ||
on: [push, pull_request] | ||
name: Go tests | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
name: Test | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
go: [1.14.x, 1.x] | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/setup-go@v2 | ||
with: { go-version: 1.x } | ||
- uses: actions/checkout@v2 | ||
- run: go test -race ./... | ||
- name: Install Go ${{ matrix.go }} | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
# - name: Run analyses | ||
# run: go run analysis.go ./... | ||
- name: Run tests | ||
run: go test -race ./... |
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