From cf3a4e09a85bc9d073b517906a0b473f526d43aa Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Mon, 13 Oct 2025 14:49:06 -0400 Subject: Add test script, scripts/ folder, and use test script in ci --- scripts/test.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 scripts/test.sh (limited to 'scripts/test.sh') diff --git a/scripts/test.sh b/scripts/test.sh new file mode 100755 index 0000000..61739ba --- /dev/null +++ b/scripts/test.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +set -eou pipefail + +main() { + go test -race -coverprofile=coverage.out -covermode=atomic ./... + go tool cover -func=coverage.out +} + +main "$@" -- cgit v1.2.3