forked from zaclys/searxng
		
	[fix] test.yamllint: return non-zero exit code on warnings
SearXNG's YAML files should be free of any warnings. This will stop the test
when there are warnings like::
     [warning] truthy value should be one of [false, true] (truthy)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
			
			
This commit is contained in:
		
							parent
							
								
									36184b2f29
								
							
						
					
					
						commit
						c377679103
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		
							
								
								
									
										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…
	
	Add table
		
		Reference in a new issue