mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-28 10:51:44 +01:00 
			
		
		
		
	Allow integration test to retry
This commit is contained in:
		
							parent
							
								
									8dca40535f
								
							
						
					
					
						commit
						fe2f75d13d
					
				
							
								
								
									
										6
									
								
								.github/workflows/test-integration.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/test-integration.yml
									
									
									
									
										vendored
									
									
								
							@ -29,4 +29,8 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      - name: Run Integration tests
 | 
					      - name: Run Integration tests
 | 
				
			||||||
        if: steps.changed-files.outputs.any_changed == 'true'
 | 
					        if: steps.changed-files.outputs.any_changed == 'true'
 | 
				
			||||||
        run: go test -tags integration -timeout 30m
 | 
					        uses: nick-invision/retry@v2
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          max_attempts: 5
 | 
				
			||||||
 | 
					          retry_on: error
 | 
				
			||||||
 | 
					          command: go test -tags integration -timeout 20m
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user