UnitTests: removed all continue-on-error lines (#1946)
* removed all continue-on-error lines * Github: add assets deployment after format Co-authored-by: Konstantin Volkov <k.volkov@flipperdevices.com> Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
		
							parent
							
								
									4b921803cb
								
							
						
					
					
						commit
						09b622d4ae
					
				
							
								
								
									
										8
									
								
								.github/workflows/unit_tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/unit_tests.yml
									
									
									
									
										vendored
									
									
								
							| @ -24,33 +24,29 @@ jobs: | |||||||
| 
 | 
 | ||||||
|       - name: 'Compile unit tests firmware' |       - name: 'Compile unit tests firmware' | ||||||
|         id: compile |         id: compile | ||||||
|         continue-on-error: true |  | ||||||
|         run: | |         run: | | ||||||
|           FBT_TOOLCHAIN_PATH=/opt ./fbt flash OPENOCD_ADAPTER_SERIAL=2A0906016415303030303032 FIRMWARE_APP_SET=unit_tests FORCE=1 |           FBT_TOOLCHAIN_PATH=/opt ./fbt flash OPENOCD_ADAPTER_SERIAL=2A0906016415303030303032 FIRMWARE_APP_SET=unit_tests FORCE=1 | ||||||
| 
 | 
 | ||||||
|       - name: 'Wait for flipper to finish updating' |       - name: 'Wait for flipper to finish updating' | ||||||
|         id: connect |         id: connect | ||||||
|         if: steps.compile.outcome == 'success' |         if: steps.compile.outcome == 'success' | ||||||
|         continue-on-error: true |  | ||||||
|         run: | |         run: | | ||||||
|           python3 ./scripts/testing/await_flipper.py ${{steps.device.outputs.flipper}} |           python3 ./scripts/testing/await_flipper.py ${{steps.device.outputs.flipper}} | ||||||
| 
 | 
 | ||||||
|       - name: 'Format flipper SD card' |       - name: 'Format flipper SD card' | ||||||
|         id: format |         id: format | ||||||
|         if: steps.connect.outcome == 'success' |         if: steps.connect.outcome == 'success' | ||||||
|         continue-on-error: true |  | ||||||
|         run: | |         run: | | ||||||
|           ./scripts/storage.py -p ${{steps.device.outputs.flipper}} format_ext |           ./scripts/storage.py -p ${{steps.device.outputs.flipper}} format_ext | ||||||
| 
 | 
 | ||||||
|       - name: 'Copy unit tests to flipper' |       - name: 'Copy assets and unit tests data to flipper' | ||||||
|         id: copy |         id: copy | ||||||
|         if: steps.format.outcome == 'success' |         if: steps.format.outcome == 'success' | ||||||
|         continue-on-error: true |  | ||||||
|         run: | |         run: | | ||||||
|  |           ./scripts/storage.py -p ${{steps.device.outputs.flipper}} send assets/resources /ext | ||||||
|           ./scripts/storage.py -p ${{steps.device.outputs.flipper}} send assets/unit_tests /ext/unit_tests |           ./scripts/storage.py -p ${{steps.device.outputs.flipper}} send assets/unit_tests /ext/unit_tests | ||||||
| 
 | 
 | ||||||
|       - name: 'Run units and validate results' |       - name: 'Run units and validate results' | ||||||
|         if: steps.copy.outcome == 'success' |         if: steps.copy.outcome == 'success' | ||||||
|         continue-on-error: true |  | ||||||
|         run: | |         run: | | ||||||
|           python3 ./scripts/testing/units.py ${{steps.device.outputs.flipper}} |           python3 ./scripts/testing/units.py ${{steps.device.outputs.flipper}} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Konstantin Volkov
						Konstantin Volkov