minio/buildscripts/go-coverage.sh

6 lines
153 B
Bash
Executable File

#!/usr/bin/env bash
set -e
GOPROXY=https://proxy.golang.org GO111MODULE=on CGO_ENABLED=0 go test -v -coverprofile=coverage.txt -covermode=atomic ./...