ci: fix ci step not failing on test failure
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				continuous-integration/drone/pr Build is failing
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	continuous-integration/drone/pr Build is failing
				
			This commit is contained in:
		
							parent
							
								
									c76d6e8019
								
							
						
					
					
						commit
						61c898f47f
					
				
					 1 changed files with 6 additions and 8 deletions
				
			
		
							
								
								
									
										14
									
								
								.drone.yml
									
										
									
									
									
								
							
							
						
						
									
										14
									
								
								.drone.yml
									
										
									
									
									
								
							|  | @ -51,8 +51,9 @@ steps: | |||
|   pull: if-not-exists | ||||
|   commands: | ||||
|     - | | ||||
|       git submodule update --init --recursive | ||||
|       set -e | ||||
| 
 | ||||
|       git submodule update --init --recursive | ||||
|       conan build . \ | ||||
|         -c tools.system.package_manager:mode=install \ | ||||
|         -s build_type=Release \ | ||||
|  | @ -60,13 +61,10 @@ steps: | |||
|         -o enable_tests=True \ | ||||
|         --build=missing | ||||
| 
 | ||||
|       find ./build \ | ||||
|         -type f \ | ||||
|         -name '*_tests' \ | ||||
|         -executable \ | ||||
|         -exec sh -c \ | ||||
|         '{}' \ | ||||
|         \; | ||||
|       for test in $(find ./build -type f -name '*_tests' -executable); do | ||||
|         echo "Running $test" | ||||
|         "$test" | ||||
|       done | ||||
| 
 | ||||
| --- | ||||
| kind: pipeline | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue