mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-11-01 05:43:11 +08:00 
			
		
		
		
	feat: fix
This commit is contained in:
		
							
								
								
									
										7
									
								
								.github/workflows/e2e_android.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/e2e_android.yml
									
									
									
									
										vendored
									
									
								
							| @@ -4,9 +4,6 @@ on: push | |||||||
| jobs: | jobs: | ||||||
|   e2e-android: |   e2e-android: | ||||||
|     runs-on: macos-latest |     runs-on: macos-latest | ||||||
|     env: |  | ||||||
|       DETOX_CONFIGURATION: android.emu.debug |  | ||||||
|  |  | ||||||
|     steps: |     steps: | ||||||
|       - name: Checkout repository |       - name: Checkout repository | ||||||
|         uses: actions/checkout@v3 |         uses: actions/checkout@v3 | ||||||
| @@ -37,7 +34,7 @@ jobs: | |||||||
|             ${{ runner.os }}-detox-build |             ${{ runner.os }}-detox-build | ||||||
|  |  | ||||||
|       - name: Detox build |       - name: Detox build | ||||||
|         run: cd Example/testHotUpdate && yarn detox build --configuration ${{ env.DETOX_CONFIGURATION }} |         run: yarn build:android-debug | ||||||
|  |  | ||||||
|       - name: Get device name |       - name: Get device name | ||||||
|         id: device |         id: device | ||||||
| @@ -49,7 +46,7 @@ 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: cd Example/testHotUpdate &&  yarn detox test --configuration ${{ env.DETOX_CONFIGURATION }} --headless --record-logs all |           script: yarn test:android-debug | ||||||
|  |  | ||||||
|       - name: Upload artifacts |       - name: Upload artifacts | ||||||
|         if: failure() |         if: failure() | ||||||
|   | |||||||
| @@ -15,7 +15,7 @@ | |||||||
|     "build:android-debug": "cd Example/testHotUpdate && yarn && detox build --configuration android.emu.debug", |     "build:android-debug": "cd Example/testHotUpdate && yarn && detox build --configuration android.emu.debug", | ||||||
|     "build:android-release": "cd Example/testHotUpdate && yarn && detox build --configuration android.emu.release", |     "build:android-release": "cd Example/testHotUpdate && yarn && detox build --configuration android.emu.release", | ||||||
|     "test:android-release": "export ANDROID_SDK_ROOT=/Users/arvinh/Library/Android/sdk && cd Example/testHotUpdate && ./node_modules/.bin/nyc yarn detox test --configuration android.emu.release", |     "test:android-release": "export ANDROID_SDK_ROOT=/Users/arvinh/Library/Android/sdk && cd Example/testHotUpdate && ./node_modules/.bin/nyc yarn detox test --configuration android.emu.release", | ||||||
|     "test:android-debug": "cd Example/testHotUpdate && detox test --configuration android.emu.debug", |     "test:android-debug": "cd Example/testHotUpdate && detox test --configuration android.emu.debug --headless --record-logs all", | ||||||
|     "e2e:ios": "npm run build:ios-release && npm run test:ios-release", |     "e2e:ios": "npm run build:ios-release && npm run test:ios-release", | ||||||
|     "e2e:android": "npm run build:android-release && npm run test:android-release", |     "e2e:android": "npm run build:android-release && npm run test:android-release", | ||||||
|     "tests:emulator:prepare": "cd .github/workflows/scripts/functions && yarn && yarn build", |     "tests:emulator:prepare": "cd .github/workflows/scripts/functions && yarn && yarn build", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 steven
					steven