1
0
mirror of https://github.com/taigrr/yq synced 2025-01-18 04:53:17 -08:00
yq/scripts/coverage.sh
2020-01-09 08:17:56 +11:00

7 lines
170 B
Bash
Executable File

#!/bin/bash
set -e
go test -coverprofile=coverage.out -v $(go list ./... | grep -v -E 'examples' | grep -v -E 'test')
go tool cover -html=coverage.out -o coverage.html