aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/test.sh
blob: 61739ba385b7320fa7db58d98baaca103b608466 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash
set -eou pipefail

main() {
  go test -race -coverprofile=coverage.out -covermode=atomic ./...
  go tool cover -func=coverage.out
}

main "$@"