Skip to content

Commit

Permalink
Expand matrix and disable fail-fast
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHines committed Feb 9, 2021
1 parent 618492b commit 334f7ca
Showing 1 changed file with 43 additions and 2 deletions.
45 changes: 43 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -8,10 +8,48 @@ name: Test
jobs:
test:
strategy:
fail-fast: false
matrix:
go-version: [1.13.x, 1.14.x, 1.15.x, tip]
go-flags: ["", "-trimpath"]
go-version:
- 1.7.x
- 1.8.x
- 1.9.x
- 1.10.x
- 1.11.x
- 1.12.x
- 1.13.x
- 1.14.x
- 1.15.x
go-flags: [""]
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- go-version: 1.13.x
os: ubuntu-latest
go-flags: "-trimpath"
- go-version: 1.13.x
os: macos-latest
go-flags: "-trimpath"
- go-version: 1.13.x
os: windows-latest
go-flags: "-trimpath"
- go-version: 1.14.x
os: ubuntu-latest
go-flags: "-trimpath"
- go-version: 1.14.x
os: macos-latest
go-flags: "-trimpath"
- go-version: 1.14.x
os: windows-latest
go-flags: "-trimpath"
- go-version: 1.15.x
os: ubuntu-latest
go-flags: "-trimpath"
- go-version: 1.15.x
os: macos-latest
go-flags: "-trimpath"
- go-version: 1.15.x
os: windows-latest
go-flags: "-trimpath"
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
Expand All @@ -20,7 +58,10 @@ jobs:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
with:
path: "${{github.workspace}}/src/github.com/${{github.repository}}"
- name: Test
env:
GOPATH: "${{github.workspace}}"
GOFLAGS: ${{ matrix.go-flags }}
run: go test ./...

0 comments on commit 334f7ca

Please sign in to comment.