#!/bin/bash # Script for quick local developer testing set -eo pipefail echo "==================================================================" echo " RUNNING QUICK DEVELOPER TESTS " echo "==================================================================" echo "[1/3] Running go fmt & vet..." go fmt ./... go vet ./... echo "[2/3] Running linters..." golangci-lint run --timeout 5m echo "[3/3] Running short unit tests..." go test -short -v -coverprofile=coverage.out ./... go tool cover -func=coverage.out echo "==================================================================" echo " QUICK TESTS COMPLETED SUCCESSFULLY " echo "=================================================================="