android-build-e2e and android-test-e2e
This commit is contained in:
parent
782a8c1fda
commit
3a5d83320f
|
@ -449,7 +449,7 @@ jobs:
|
||||||
- upload-to-google-play-beta:
|
- upload-to-google-play-beta:
|
||||||
official: true
|
official: true
|
||||||
|
|
||||||
android-experimental-test:
|
android-build-e2e:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
executor:
|
executor:
|
||||||
name: android/android-machine
|
name: android/android-machine
|
||||||
|
@ -461,15 +461,6 @@ jobs:
|
||||||
- run: *install-npm-modules
|
- run: *install-npm-modules
|
||||||
- save_cache: *save-npm-cache-linux
|
- save_cache: *save-npm-cache-linux
|
||||||
- restore_cache: *restore-gradle-cache
|
- restore_cache: *restore-gradle-cache
|
||||||
- create-e2e-account-file
|
|
||||||
- android/create-avd:
|
|
||||||
avd-name: myavd
|
|
||||||
install: true
|
|
||||||
system-image: system-images;android-32;google_apis;x86_64
|
|
||||||
- android/start-emulator:
|
|
||||||
avd-name: myavd
|
|
||||||
no-window: true
|
|
||||||
post-emulator-launch-assemble-command: ''
|
|
||||||
- run:
|
- run:
|
||||||
name: Configure Gradle
|
name: Configure Gradle
|
||||||
command: |
|
command: |
|
||||||
|
@ -493,6 +484,37 @@ jobs:
|
||||||
command: |
|
command: |
|
||||||
yarn detox build --configuration android.att.release
|
yarn detox build --configuration android.att.release
|
||||||
- save_cache: *save-gradle-cache
|
- save_cache: *save-gradle-cache
|
||||||
|
- store_artifacts:
|
||||||
|
path: android/app/build/outputs
|
||||||
|
- persist_to_workspace:
|
||||||
|
root: .
|
||||||
|
paths:
|
||||||
|
- android/app/build/outputs
|
||||||
|
|
||||||
|
android-test-e2e:
|
||||||
|
<<: *defaults
|
||||||
|
executor:
|
||||||
|
name: android/android-machine
|
||||||
|
resource-class: large
|
||||||
|
tag: 2022.12.1
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- attach_workspace:
|
||||||
|
at: android
|
||||||
|
- restore_cache: *restore-npm-cache-linux
|
||||||
|
- run: *install-npm-modules
|
||||||
|
- save_cache: *save-npm-cache-linux
|
||||||
|
# - restore_cache: *restore-gradle-cache
|
||||||
|
- create-e2e-account-file
|
||||||
|
- android/create-avd:
|
||||||
|
avd-name: myavd
|
||||||
|
install: true
|
||||||
|
system-image: system-images;android-32;google_apis;x86_64
|
||||||
|
- android/start-emulator:
|
||||||
|
avd-name: myavd
|
||||||
|
no-window: true
|
||||||
|
post-emulator-launch-assemble-command: ''
|
||||||
|
# - save_cache: *save-gradle-cache
|
||||||
- run:
|
- run:
|
||||||
name: Run Detox Tests
|
name: Run Detox Tests
|
||||||
command: |
|
command: |
|
||||||
|
@ -572,7 +594,11 @@ workflows:
|
||||||
- ios-build-experimental
|
- ios-build-experimental
|
||||||
|
|
||||||
- ios-experimental-test
|
- ios-experimental-test
|
||||||
- android-experimental-test
|
|
||||||
|
- android-build-e2e
|
||||||
|
- android-test-e2e:
|
||||||
|
requires:
|
||||||
|
- android-build-e2e
|
||||||
|
|
||||||
# iOS Official
|
# iOS Official
|
||||||
- ios-hold-build-official:
|
- ios-hold-build-official:
|
||||||
|
|
Loading…
Reference in New Issue