minio/buildscripts/go-coverage.sh

6 lines
120 B
Bash
Executable file

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