mirror of
				https://github.com/searxng/searxng.git
				synced 2025-11-03 19:17:07 -05:00 
			
		
		
		
	Merge pull request #1328 from return42/yaml-strict
[fix] test.yamllint: return non-zero exit code on warnings
This commit is contained in:
		
						commit
						43b8b64866
					
				
							
								
								
									
										3
									
								
								manage
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								manage
									
									
									
									
									
								
							@ -661,7 +661,8 @@ format.python() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
test.yamllint() {
 | 
					test.yamllint() {
 | 
				
			||||||
    build_msg TEST "[yamllint] \$YAMLLINT_FILES"
 | 
					    build_msg TEST "[yamllint] \$YAMLLINT_FILES"
 | 
				
			||||||
    pyenv.cmd yamllint --format parsable "${YAMLLINT_FILES[@]}"
 | 
					    pyenv.cmd yamllint --strict --format parsable "${YAMLLINT_FILES[@]}"
 | 
				
			||||||
 | 
					    dump_return $?
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
test.pylint() {
 | 
					test.pylint() {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user