mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Merge pull request #69952 from Katharine/include-staging
Include vendor/k8s.io in coverage instrumentation
This commit is contained in:
		@@ -555,7 +555,7 @@ kube::golang::build_some_binaries() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        go test -c -o "$(kube::golang::outfile_for_binary "${package}" "${platform}")" \
 | 
					        go test -c -o "$(kube::golang::outfile_for_binary "${package}" "${platform}")" \
 | 
				
			||||||
          -covermode count \
 | 
					          -covermode count \
 | 
				
			||||||
          -coverpkg k8s.io/... \
 | 
					          -coverpkg k8s.io/...,k8s.io/kubernetes/vendor/k8s.io/... \
 | 
				
			||||||
          "${build_args[@]}" \
 | 
					          "${build_args[@]}" \
 | 
				
			||||||
          -tags coverage \
 | 
					          -tags coverage \
 | 
				
			||||||
          "${package}"
 | 
					          "${package}"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user