X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=nonrtric%2Frapp%2Fransliceassurance.git;a=blobdiff_plain;f=smoversion%2Fbuild-ransliceassurance-ubuntu.sh;h=ca04a809dc66adf3b62558b0bec205f0b680860b;hp=8b56c2a7b7fee58a34b78a65fe8e413c618007a7;hb=HEAD;hpb=5542d26d709c996977d3992c58b273ce83e21e16 diff --git a/smoversion/build-ransliceassurance-ubuntu.sh b/smoversion/build-ransliceassurance-ubuntu.sh index 8b56c2a..ca04a80 100755 --- a/smoversion/build-ransliceassurance-ubuntu.sh +++ b/smoversion/build-ransliceassurance-ubuntu.sh @@ -19,24 +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 -oransc.org/usecase/oduclosedloop/internal/config - -cp coverage.txt $curdir echo "--> build-ransliceassurance-ubuntu.sh ends"