diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-23 14:49:11 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-23 14:49:11 -0600 |
| commit | f861b0df276d26ef8db1e27678f807d22dabd6e3 (patch) | |
| tree | e88cb9fecf81841a88cd71d9e68d8c38c9af5eaf /Makefile | |
| parent | 2dd412bdac6f986de997556c1bab2bd4c4552321 (diff) | |
chore: extract test-schema target
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 ./... |
