aboutsummaryrefslogtreecommitdiff
path: root/scripts/build_test.sh
diff options
context:
space:
mode:
authorAaron Buchwald <[email protected]>2020-11-13 15:20:43 -0500
committerAaron Buchwald <[email protected]>2020-11-13 15:20:43 -0500
commit81bfb06bbffbd14d2fdc8deabce7b437c7bbbacd (patch)
treeea89c5427762c7dfaf5415f9940d640b1d116611 /scripts/build_test.sh
parent80b55a2a29df46b126ec531878f5c889eda916f4 (diff)
Add test script
Diffstat (limited to 'scripts/build_test.sh')
-rwxr-xr-xscripts/build_test.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/build_test.sh b/scripts/build_test.sh
new file mode 100755
index 0000000..f1870ad
--- /dev/null
+++ b/scripts/build_test.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+set -o errexit
+set -o nounset
+set -o pipefail
+
+go test -race -timeout="90s" -coverprofile="coverage.out" -covermode="atomic" ./...