diff options
| -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 ./... |
