mirror of
				https://github.com/appleboy/drone-ssh.git
				synced 2025-10-29 00:51:15 +08:00 
			
		
		
		
	add testing
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
		
							parent
							
								
									fd29459f18
								
							
						
					
					
						commit
						898ad5c5b4
					
				
							
								
								
									
										18
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								.drone.yml
									
									
									
									
									
								
							| @ -48,15 +48,6 @@ pipeline: | |||||||
|       - make test |       - make test | ||||||
|       - make coverage |       - make coverage | ||||||
| 
 | 
 | ||||||
|   codecov: |  | ||||||
|     image: robertstettner/drone-codecov |  | ||||||
|     secrets: [ codecov_token ] |  | ||||||
|     files: |  | ||||||
|       - .cover/coverage.txt |  | ||||||
|     when: |  | ||||||
|       event: [ push, pull_request ] |  | ||||||
|       status: [ success ] |  | ||||||
| 
 |  | ||||||
|   release: |   release: | ||||||
|     image: appleboy/golang-testing |     image: appleboy/golang-testing | ||||||
|     pull: true |     pull: true | ||||||
| @ -66,6 +57,15 @@ pipeline: | |||||||
|       event: [ tag ] |       event: [ tag ] | ||||||
|       local: false |       local: false | ||||||
| 
 | 
 | ||||||
|  |   codecov: | ||||||
|  |     image: robertstettner/drone-codecov | ||||||
|  |     secrets: [ codecov_token ] | ||||||
|  |     files: | ||||||
|  |       - .cover/coverage.txt | ||||||
|  |     when: | ||||||
|  |       event: [ push, pull_request ] | ||||||
|  |       status: [ success ] | ||||||
|  | 
 | ||||||
|   publish: |   publish: | ||||||
|     image: appleboy/drone-docker |     image: appleboy/drone-docker | ||||||
|     pull: true |     pull: true | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Bo-Yi Wu
						Bo-Yi Wu