From 8e50b801cd28c13304314957c1f3ebaab228f9f3 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Mon, 12 Jun 2023 09:21:35 -0700 Subject: [PATCH] Add a `force-test` target to disable caching --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 854108f43..fec056432 100644 --- a/Makefile +++ b/Makefile @@ -84,6 +84,10 @@ clean: test: # run tests go test ./... +.PHONY: force-test +force-test: # run all tests (no cached results) + go test -count=1 ./... + .PHONY: format format: # format go code gofmt -s -w ./