From f54a80f22fa669a8b52622cfff06999c8be044f8 Mon Sep 17 00:00:00 2001 From: Sourabh Mehta Date: Fri, 2 Feb 2024 08:49:56 +0100 Subject: [PATCH] Run all tests under subdirectories --- .github/workflows/test.yml | 1 - makefile | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bacbad4..7bb80b2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -168,4 +168,3 @@ jobs: with: debug: true coverageLocations: ./cover.out:gocov - prefix: cmd \ No newline at end of file diff --git a/makefile b/makefile index cdf7e7c..d58fd3d 100644 --- a/makefile +++ b/makefile @@ -83,7 +83,7 @@ format-check: .PHONY: test release config test: $(SOURCES) - cd cmd && GOOS=$(OS) GOARCH=$(ARCH) go test $(ARGS) ./... -coverprofile ../cover.out + GOOS=$(OS) GOARCH=$(ARCH) go test $(ARGS) ./... -coverprofile cover.out test-all: format-check coverage-check lint