From 55377b2b0f9f36878002e42ff6365b0f7a1a284e Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Tue, 30 May 2023 00:57:16 +0200 Subject: [PATCH] make: test-unit and test-integration targets Also switch test target to run the test script. Signed-off-by: CrazyMax --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 29fca1a3..916421e8 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,15 @@ lint: .PHONY: test test: - $(BUILDX_CMD) bake test + ./hack/test + +.PHONY: test-unit +test-unit: + TESTPKGS=./... SKIP_INTEGRATION_TESTS=1 ./hack/test + +.PHONY: test +test-integration: + TESTPKGS=./tests ./hack/test .PHONY: validate-vendor validate-vendor: