Skip to content

Commit 80dcbef

Browse files
Julien Pivottoringods
Julien Pivotto
authored andcommitted
Use GH Worksflow
Signed-off-by: Julien Pivotto <[email protected]>
1 parent f5149ec commit 80dcbef

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/test.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Test
2+
on: [push,pull_request]
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
strategy:
8+
matrix:
9+
go: [1.11]
10+
make_target: [test, testacc, vet, website-test]
11+
steps:
12+
- uses: actions/checkout@v1
13+
- uses: actions/setup-go@v1
14+
with:
15+
go-version: "${{ matrix.go }}"
16+
- run: bash scripts/license.sh
17+
if: matrix.make_target == 'testacc'
18+
- run: bash scripts/start-gitlab.sh
19+
if: matrix.make_target == 'testacc'
20+
- run: |
21+
export MAKE_TARGET=${{ matrix.make_target }}
22+
export GOFLAGS=-mod=vendor
23+
export GO111MODULE=on
24+
make $MAKE_TARGET

0 commit comments

Comments
 (0)