make: test-unit and test-integration targets

Also switch test target to run the test script.

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
pull/1851/head
CrazyMax 2 years ago
parent 98dedd3225
commit 55377b2b0f
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

@ -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:

Loading…
Cancel
Save