Commit ebde816 authored and k8s-infra-cherrypick-robot
committed
1 parent 44cc460 commit ebde816 Copy full SHA for ebde816
File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 25
25
sudo dpkg -i packages-microsoft-prod.deb
26
26
sudo apt-get update
27
27
sudo apt-get install blobfuse
28
- go test -covermode=count -coverprofile=profile.cov ./pkg/...
28
+ go test -race - covermode=atomic -coverprofile=profile.cov ./pkg/...
29
29
30
30
- name : Run build test
31
31
run : |
42
42
export PATH=$PATH:$HOME/.local/bin
43
43
make blobfuse-proxy
44
44
45
- - name : Get code coverage
45
+ - name : Install goveralls
46
+ run : go install github.com/mattn/goveralls@latest
47
+
48
+ - name : Send coverage
46
49
env :
47
- COVERALLS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
48
- run : |
49
- GO111MODULE=off go get github.com/mattn/goveralls
50
- $(go env GOPATH)/bin/goveralls -coverprofile=profile.cov -service=github
50
+ COVERALLS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
51
+ run : goveralls -coverprofile=profile.cov -service=github
You can’t perform that action at this time.
0 commit comments