Skip to content

Commit e5bbd7d

Browse files
committed
Merge branch 'feature/github-actions' into develop
2 parents 618492b + 334f7ca commit e5bbd7d

File tree

1 file changed

+43
-2
lines changed

1 file changed

+43
-2
lines changed

.github/workflows/test.yml

+43-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,48 @@ name: Test
88
jobs:
99
test:
1010
strategy:
11+
fail-fast: false
1112
matrix:
12-
go-version: [1.13.x, 1.14.x, 1.15.x, tip]
13-
go-flags: ["", "-trimpath"]
13+
go-version:
14+
- 1.7.x
15+
- 1.8.x
16+
- 1.9.x
17+
- 1.10.x
18+
- 1.11.x
19+
- 1.12.x
20+
- 1.13.x
21+
- 1.14.x
22+
- 1.15.x
23+
go-flags: [""]
1424
os: [ubuntu-latest, macos-latest, windows-latest]
25+
include:
26+
- go-version: 1.13.x
27+
os: ubuntu-latest
28+
go-flags: "-trimpath"
29+
- go-version: 1.13.x
30+
os: macos-latest
31+
go-flags: "-trimpath"
32+
- go-version: 1.13.x
33+
os: windows-latest
34+
go-flags: "-trimpath"
35+
- go-version: 1.14.x
36+
os: ubuntu-latest
37+
go-flags: "-trimpath"
38+
- go-version: 1.14.x
39+
os: macos-latest
40+
go-flags: "-trimpath"
41+
- go-version: 1.14.x
42+
os: windows-latest
43+
go-flags: "-trimpath"
44+
- go-version: 1.15.x
45+
os: ubuntu-latest
46+
go-flags: "-trimpath"
47+
- go-version: 1.15.x
48+
os: macos-latest
49+
go-flags: "-trimpath"
50+
- go-version: 1.15.x
51+
os: windows-latest
52+
go-flags: "-trimpath"
1553
runs-on: ${{ matrix.os }}
1654
steps:
1755
- name: Install Go
@@ -20,7 +58,10 @@ jobs:
2058
go-version: ${{ matrix.go-version }}
2159
- name: Checkout code
2260
uses: actions/checkout@v2
61+
with:
62+
path: "${{github.workspace}}/src/github.com/${{github.repository}}"
2363
- name: Test
2464
env:
65+
GOPATH: "${{github.workspace}}"
2566
GOFLAGS: ${{ matrix.go-flags }}
2667
run: go test ./...

0 commit comments

Comments
 (0)