-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (48 loc) · 1.01 KB
/
workflow.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Continuous Integration
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
go-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.16.3'
- name: Setup GraphViz
uses: ts-graphviz/setup-graphviz@v1
- name: Install dependencies
run: |
go version
go get -u golang.org/x/lint/golint
- name: Run build
run: |
go build
cd core
go build
cd ../util
go build
- name: Run vet & lint
run: |
go vet
golint
cd core
go vet
golint
cd ../util
go vet
golint
cd ../test
go vet
golint
- name: Run testing
run: cd test && go test dfalearningtoolkit_test.go -v -timeout 30m