precheck for make test (#2116)
Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
		
							parent
							
								
									cabaf15a1a
								
							
						
					
					
						commit
						a8784a17ed
					
				
							
								
								
									
										1
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										1
									
								
								Makefile
								
								
								
								
							|  | @ -23,6 +23,7 @@ build-test-tools: | ||||||
| .PHONY: build-test-tools | .PHONY: build-test-tools | ||||||
| 
 | 
 | ||||||
| test: | test: | ||||||
|  | 	@which helm &> /dev/null || (echo "helm binary not found. Please see: https://helm.sh/docs/intro/install/" && exit 1) | ||||||
| 	go build -o helmfile . | 	go build -o helmfile . | ||||||
| 	go test -v ${PKGS} -cover -race -p=1 | 	go test -v ${PKGS} -cover -race -p=1 | ||||||
| .PHONY: test | .PHONY: test | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue