aboutsummaryrefslogtreecommitdiff
path: root/scripts/build_test.sh
diff options
context:
space:
mode:
authoraaronbuchwald <[email protected]>2020-11-13 17:28:24 -0500
committerGitHub <[email protected]>2020-11-13 17:28:24 -0500
commit2a52b64b2f94602ac02df458e9ba66e43fd57489 (patch)
tree3dff693752e44d6de1419823c4e8e4e4bc25ecaf /scripts/build_test.sh
parent68661be1a9551e24994b1e2703676b03cd96624c (diff)
parent6a542ffa05e3a70139bf1de0a4f0bf2e510d069e (diff)
Merge pull request #54 from ava-labs/github-actions
GitHub actions
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..46a619f
--- /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" ./plugin/...