From f861b0df276d26ef8db1e27678f807d22dabd6e3 Mon Sep 17 00:00:00 2001 From: mo khan Date: Wed, 23 Jul 2025 14:49:11 -0600 Subject: chore: extract test-schema target --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d9ea8d6..3815b6f 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,9 @@ setup: build: $(AUTHZD_BIN) $(SPARKLED_BIN) +test-schema: + @$(ZED) validate etc/authzd/*.yaml + test-unit: @go test -shuffle=on ./... @@ -39,7 +42,7 @@ test-race: test-integration: build-image @IMAGE_TAG=$(IMAGE_TAG) go test -tags=integration ./test/integration/... -test: clean test-unit test-integration +test: clean test-unit test-schema test-integration build-image: @docker build --network=host --no-cache --tag $(IMAGE_TAG) . @@ -52,8 +55,7 @@ run-image: clean build-image lint: @go tool yamlfmt --lint -exclude vendor . - @$(ZED) validate etc/authzd/*.zed - @$(ZED) validate etc/authzd/*.yaml + @$(ZED) validate etc/authzd/* tidy: @go get -u ./... -- cgit v1.2.3