From: elinuxhenrik Date: Tue, 7 Sep 2021 05:48:12 +0000 (+0200) Subject: Fix Sonar for DMaaP Mediator X-Git-Tag: 1.2.0~94 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;ds=sidebyside;h=refs%2Fchanges%2F07%2F6707%2F1;p=nonrtric.git Fix Sonar for DMaaP Mediator Issue-ID: NONRTRIC-593 Signed-off-by: elinuxhenrik Change-Id: Ifd480a8151473536762f1e450b4beb22473f5d2a --- diff --git a/dmaap-mediator-producer/build-dmaapmediatorproducer-ubuntu.sh b/dmaap-mediator-producer/build-dmaapmediatorproducer-ubuntu.sh index 18dcc56d..59331fe2 100755 --- a/dmaap-mediator-producer/build-dmaapmediatorproducer-ubuntu.sh +++ b/dmaap-mediator-producer/build-dmaapmediatorproducer-ubuntu.sh @@ -24,13 +24,14 @@ curdir=`pwd` # ubuntu minion path lacks go export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin +cd dmaap-mediator-producer + # install the go coverage tool helper go get -v github.com/ory/go-acc export GO111MODULE=on go get github.com/stretchr/testify/mock@v1.7.0 -cd dmaap-mediator-producer go-acc ./... --ignore mocks cp coverage.txt $curdir