X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=smoversion%2Fbuild-ransliceassurance-ubuntu.sh;h=ca04a809dc66adf3b62558b0bec205f0b680860b;hb=HEAD;hp=e86ed495658b197e4394f239a1b8e4d7eaeb6857;hpb=d2c54bd09f07032fb087809a23407db997bc74de;p=nonrtric%2Frapp%2Fransliceassurance.git diff --git a/smoversion/build-ransliceassurance-ubuntu.sh b/smoversion/build-ransliceassurance-ubuntu.sh index e86ed49..ca04a80 100755 --- a/smoversion/build-ransliceassurance-ubuntu.sh +++ b/smoversion/build-ransliceassurance-ubuntu.sh @@ -19,22 +19,20 @@ set -eux echo "--> build-ransliceassurance-ubuntu.sh" -curdir=`pwd` # go installs tools like go-acc to $HOME/go/bin # ubuntu minion path lacks go export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin +export GO111MODULE=on go version cd smoversion/ # install the go coverage tool helper -go get -v github.com/ory/go-acc +go install github.com/ory/go-acc -export GO111MODULE=on go get github.com/stretchr/testify/mock@v1.7.0 go-acc ./... --ignore mocks sed -i -e 's/oransc\.org\/usecase\/oduclosedloop/smoversion/' coverage.txt -cp coverage.txt $curdir echo "--> build-ransliceassurance-ubuntu.sh ends"