CI: Add unit-test-race (#16470)
This commit is contained in:
		
					parent
					
						
							
								e83abfc289
							
						
					
				
			
			
				commit
				
					
						4b512abf5b
					
				
			
		
					 1 changed files with 11 additions and 0 deletions
				
			
		
							
								
								
									
										11
									
								
								.drone.yml
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								.drone.yml
									
										
									
									
									
								
							| 
						 | 
					@ -217,6 +217,17 @@ steps:
 | 
				
			||||||
      GITHUB_READ_TOKEN:
 | 
					      GITHUB_READ_TOKEN:
 | 
				
			||||||
        from_secret: github_read_token
 | 
					        from_secret: github_read_token
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  - name: unit-test-race
 | 
				
			||||||
 | 
					    image: golang:1.16
 | 
				
			||||||
 | 
					    commands:
 | 
				
			||||||
 | 
					      - make test-backend
 | 
				
			||||||
 | 
					    environment:
 | 
				
			||||||
 | 
					      GOPROXY: off
 | 
				
			||||||
 | 
					      TAGS: sqlite sqlite_unlock_notify
 | 
				
			||||||
 | 
					      RACE_ENABLED: true
 | 
				
			||||||
 | 
					      GITHUB_READ_TOKEN:
 | 
				
			||||||
 | 
					        from_secret: github_read_token
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  - name: unit-test-gogit
 | 
					  - name: unit-test-gogit
 | 
				
			||||||
    pull: always
 | 
					    pull: always
 | 
				
			||||||
    image: golang:1.16
 | 
					    image: golang:1.16
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue