mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-10-31 21:33:12 +08:00 
			
		
		
		
	feat: CI测试
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/e2e_android.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/e2e_android.yml
									
									
									
									
										vendored
									
									
								
							| @@ -34,7 +34,7 @@ jobs: | |||||||
|             ${{ runner.os }}-detox-build |             ${{ runner.os }}-detox-build | ||||||
|  |  | ||||||
|       - name: Detox build |       - name: Detox build | ||||||
|         run: yarn build:android-release |         run: yarn build:android-debug | ||||||
|  |  | ||||||
|       - name: Get device name |       - name: Get device name | ||||||
|         id: device |         id: device | ||||||
| @@ -46,4 +46,4 @@ jobs: | |||||||
|           api-level: 31 |           api-level: 31 | ||||||
|           arch: x86_64 |           arch: x86_64 | ||||||
|           avd-name: ${{ steps.device.outputs.AVD_NAME }} |           avd-name: ${{ steps.device.outputs.AVD_NAME }} | ||||||
|           script: yarn test:android-release |           script: yarn test:android-debug | ||||||
|   | |||||||
| @@ -35,6 +35,7 @@ module.exports = { | |||||||
|       binaryPath: 'android/app/build/outputs/apk/debug/app-debug.apk', |       binaryPath: 'android/app/build/outputs/apk/debug/app-debug.apk', | ||||||
|       build: |       build: | ||||||
|         'cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug', |         'cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug', | ||||||
|  |       start: "scripts/start-rn.sh android", | ||||||
|       reversePorts: [8081], |       reversePorts: [8081], | ||||||
|     }, |     }, | ||||||
|     'android.release': { |     'android.release': { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 steven
					steven