Do not run ineffective targets, do run all module tests

This commit is contained in:
Katrina Verey
2022-04-04 18:12:50 -04:00
parent af06ae6b69
commit 2d4bce5112
4 changed files with 21 additions and 7 deletions

View File

@@ -1 +0,0 @@
../Makefile-modules.mk

7
api/Makefile Normal file
View File

@@ -0,0 +1,7 @@
# Copyright 2022 The Kubernetes Authors.
# SPDX-License-Identifier: Apache-2.0
include ../Makefile-modules.mk
test:
go test -v -timeout 45m -cover ./... -ldflags "-X sigs.k8s.io/kustomize/api/provenance.version=v444.333.222"