mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-11-04 09:13:00 +00:00 
			
		
		
		
	CI: Upload test-report when an error occurs
This commit is contained in:
		
							
								
								
									
										7
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							@@ -74,6 +74,13 @@ jobs:
 | 
			
		||||
          emulator-build: 7425822
 | 
			
		||||
          script: ./gradlew connectedCheck --stacktrace
 | 
			
		||||
        
 | 
			
		||||
      - name: Upload test report when tests fail # because the printed out stacktrace (console) is too short, see also #7553
 | 
			
		||||
        uses: actions/upload-artifact@v2
 | 
			
		||||
        if: failure()
 | 
			
		||||
        with:
 | 
			
		||||
          name: android-test-report-api${{ matrix.api-level }}
 | 
			
		||||
          path: app/build/reports/androidTests/connected/**
 | 
			
		||||
 | 
			
		||||
  sonar:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user