File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 1818 - name : Check out code into the Go module directory
1919 uses : actions/checkout@v4
2020
21- - name : Run unit test
22- run : |
23- export PATH=$PATH:$HOME/.local/bin
24- wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
25- sudo dpkg -i packages-microsoft-prod.deb
26- sudo apt-get update
27- sudo apt-get install blobfuse
28- go test -race -covermode=atomic -coverprofile=profile.cov ./pkg/...
29-
3021 - name : Run build test
3122 run : |
3223 export PATH=$PATH:$HOME/.local/bin
@@ -42,10 +33,19 @@ jobs:
4233 export PATH=$PATH:$HOME/.local/bin
4334 make blobfuse-proxy
4435
36+ - name : Run unit test
37+ run : |
38+ export PATH=$PATH:$HOME/.local/bin
39+ wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
40+ sudo dpkg -i packages-microsoft-prod.deb
41+ sudo apt-get update
42+ sudo apt-get install blobfuse
43+ go test -race -covermode=atomic -coverprofile=profile.cov ./pkg/...
44+
4545 - name : Install goveralls
4646 run : go install github.com/mattn/goveralls@latest
4747
4848 - name : Send coverage
4949 env :
5050 COVERALLS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
51- run : goveralls -coverprofile=profile.cov -service=github -ignore=./pkg/blobfuse-proxy/pb/azure_blob_mount.pb.go,./pkg/blobfuse-proxy/pb/azure_blob_mount_grpc.pb.go
51+ run : goveralls -coverprofile=profile.cov -service=github -ignore=./pkg/blobfuse-proxy/pb
You can’t perform that action at this time.
0 commit comments