yq/scripts/coverage.sh
2019-12-06 13:58:56 +11:00

7 lines
118 B
Bash
Executable File

#!/bin/bash
set -e
go test -coverprofile=coverage.out ./...
go tool cover -html=coverage.out -o cover/coverage.html