|  | @@ -18,10 +18,8 @@ steps:
 | 
											
												
													
														|  |      commands:
 |  |      commands:
 | 
											
												
													
														|  |        - git clone -b develop http://kpt.kptyun.cn:3000/xuyiping/kpt-tmr-group.git
 |  |        - git clone -b develop http://kpt.kptyun.cn:3000/xuyiping/kpt-tmr-group.git
 | 
											
												
													
														|  |    - name: test
 |  |    - name: test
 | 
											
												
													
														|  | -    image: golang:1.17
 |  | 
 | 
											
												
													
														|  | 
 |  | +    image: plugins/docker
 | 
											
												
													
														|  |      commands:
 |  |      commands:
 | 
											
												
													
														|  | -      - pwd
 |  | 
 | 
											
												
													
														|  | -      - ls -l
 |  | 
 | 
											
												
													
														|  |        - cd /drone/src/kpt-tmr-group
 |  |        - cd /drone/src/kpt-tmr-group
 | 
											
												
													
														|  |        - go test `go list ./... | grep -v -E "mock|store|test|fake|cmd|bin|backend|google|logger|proto"` -coverprofile .cover.txt
 |  |        - go test `go list ./... | grep -v -E "mock|store|test|fake|cmd|bin|backend|google|logger|proto"` -coverprofile .cover.txt
 | 
											
												
													
														|  |        - go tool cover -func .cover.txt
 |  |        - go tool cover -func .cover.txt
 | 
											
										
											
												
													
														|  | @@ -53,6 +51,8 @@ trigger:
 | 
											
												
													
														|  |    event:
 |  |    event:
 | 
											
												
													
														|  |      include:
 |  |      include:
 | 
											
												
													
														|  |        - push
 |  |        - push
 | 
											
												
													
														|  | 
 |  | +    exclude:
 | 
											
												
													
														|  | 
 |  | +      - pull_request
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  volumes:
 |  |  volumes:
 |