Remove more instances of GOPATH from Makefile and CI (#13450)
Automatic Merge
Этот коммит содержится в:
коммит произвёл
mattermod
родитель
f78ba00017
Коммит
5123fe0292
@@ -8,6 +8,7 @@ GOFLAGS=$2
|
||||
PACKAGES=$3
|
||||
TESTS=$4
|
||||
TESTFLAGS=$5
|
||||
GOBIN=$6
|
||||
|
||||
PACKAGES_COMMA=$(echo $PACKAGES | tr ' ' ',')
|
||||
|
||||
@@ -18,7 +19,7 @@ find . -type d -name data -not -path './vendor/*' | xargs rm -rf
|
||||
$GO test $GOFLAGS -run=$TESTS $TESTFLAGS -v -timeout=2000s -covermode=count -coverpkg=$PACKAGES_COMMA -exec $DIR/test-xprog.sh $PACKAGES 2>&1 > >( tee output )
|
||||
EXIT_STATUS=$?
|
||||
|
||||
cat output | $GOPATH/bin/go-junit-report > report.xml
|
||||
cat output | $GOBIN/go-junit-report > report.xml
|
||||
rm output
|
||||
find . -name 'cprofile*.out' -exec sh -c 'tail -n +2 "{}" >> cover.out ; rm "{}"' \;
|
||||
rm -f config/*.crt
|
||||
|
||||
Ссылка в новой задаче
Block a user