Fill in Default Values for CPU/Memory (#130)
Update k8s client and the dependencies ACI client change for Mocking Add ACI Provider Mock Tests Add the Windows development environment Add UT for Default Resource Requests Enable the make test in Docker file Update the vendors
This commit is contained in:
6
Makefile
6
Makefile
@@ -61,17 +61,17 @@ clean: clean-build
|
||||
|
||||
test:
|
||||
@echo "Testing..."
|
||||
$Q go test $(if $V,-v) -i -race $(allpackages) # install -race libs to speed up next run
|
||||
$Q go test $(if $V,-v) -i $(allpackages) # install -race libs to speed up next run
|
||||
ifndef CI
|
||||
@echo "Testing Outside CI..."
|
||||
$Q go vet $(allpackages)
|
||||
$Q GODEBUG=cgocheck=2 go test -race $(allpackages)
|
||||
$Q GODEBUG=cgocheck=2 go test $(allpackages)
|
||||
else
|
||||
@echo "Testing in CI..."
|
||||
$Q mkdir -p test
|
||||
$Q ( go vet $(allpackages); echo $$? ) | \
|
||||
tee test/vet.txt | sed '$$ d'; exit $$(tail -1 test/vet.txt)
|
||||
$Q ( GODEBUG=cgocheck=2 go test -v -race $(allpackages); echo $$? ) | \
|
||||
$Q ( GODEBUG=cgocheck=2 go test -v $(allpackages); echo $$? ) | \
|
||||
tee test/output.txt | sed '$$ d'; exit $$(tail -1 test/output.txt)
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user