From 68703efde1005866fcaeb6b717515085aa2d8c41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliv=C3=A9r=20Falvai?= Date: Fri, 2 Dec 2022 10:33:02 +0100 Subject: [PATCH] Add more project types to step.yml (#82) * Add more project types to step.yml * Update device list --- maintenance/maintenance_test.go | 116 +++++++++++++++++++++++++++++++- step.yml | 84 +++++++++++++---------- 2 files changed, 165 insertions(+), 35 deletions(-) diff --git a/maintenance/maintenance_test.go b/maintenance/maintenance_test.go index cb33310..d184bab 100644 --- a/maintenance/maintenance_test.go +++ b/maintenance/maintenance_test.go @@ -111,6 +111,19 @@ func checkAccounts() (bool, error) { } const deviceList = `--- +brand: Google +codename: AmatiTvEmulator +form: VIRTUAL +id: AmatiTvEmulator +manufacturer: Google +name: Google TV Amati +screenDensity: 320 +screenX: 1920 +screenY: 1080 +supportedAbis[0]: x86 +supportedVersionIds[0]: 29 +tags[0]: beta=29 +--- brand: Generic codename: AndroidTablet270dpi form: VIRTUAL @@ -125,6 +138,61 @@ supportedAbis[0]: x86 supportedVersionIds[0]: 30 --- brand: Google +codename: GoogleTvEmulator +form: VIRTUAL +id: GoogleTvEmulator +manufacturer: Google +name: Google TV +screenDensity: 213 +screenX: 1280 +screenY: 720 +supportedAbis[0]: x86 +supportedVersionIds[0]: 30 +tags[0]: beta=30 +--- +brand: Google +codename: MediumPhone.arm +form: VIRTUAL +formFactor: PHONE +id: MediumPhone.arm +manufacturer: Generic +name: MediumPhone (ARM) +screenDensity: 420 +screenX: 1080 +screenY: 2400 +supportedAbis[0]: arm64-v8a +supportedVersionIds[0]: 26 +supportedVersionIds[1]: 27 +supportedVersionIds[2]: 28 +supportedVersionIds[3]: 29 +supportedVersionIds[4]: 30 +supportedVersionIds[5]: 32 +supportedVersionIds[6]: 33 +tags[0]: preview=33 +tags[1]: beta +--- +brand: Google +codename: MediumTablet.arm +form: VIRTUAL +formFactor: TABLET +id: MediumTablet.arm +manufacturer: Generic +name: MediumTablet (ARM) +screenDensity: 320 +screenX: 1600 +screenY: 2560 +supportedAbis[0]: arm64-v8a +supportedVersionIds[0]: 26 +supportedVersionIds[1]: 27 +supportedVersionIds[2]: 28 +supportedVersionIds[3]: 29 +supportedVersionIds[4]: 30 +supportedVersionIds[5]: 32 +supportedVersionIds[6]: 33 +tags[0]: preview=33 +tags[1]: beta +--- +brand: Google codename: Nexus10 form: VIRTUAL formFactor: TABLET @@ -138,6 +206,7 @@ supportedAbis[0]: x86 supportedVersionIds[0]: 19 supportedVersionIds[1]: 21 supportedVersionIds[2]: 22 +tags[0]: deprecated=19 --- brand: Google codename: Nexus4 @@ -153,6 +222,7 @@ supportedAbis[0]: x86 supportedVersionIds[0]: 19 supportedVersionIds[1]: 21 supportedVersionIds[2]: 22 +tags[0]: deprecated=19 --- brand: Google codename: Nexus5 @@ -171,6 +241,7 @@ supportedVersionIds[0]: 19 supportedVersionIds[1]: 21 supportedVersionIds[2]: 22 supportedVersionIds[3]: 23 +tags[0]: deprecated=19 --- brand: Google codename: Nexus5X @@ -260,6 +331,7 @@ supportedAbis[0]: x86 supportedVersionIds[0]: 19 supportedVersionIds[1]: 21 supportedVersionIds[2]: 22 +tags[0]: deprecated=19 --- brand: Generic codename: Nexus7_clone_16_9 @@ -381,6 +453,27 @@ supportedVersionIds[2]: 28 supportedVersionIds[3]: 29 supportedVersionIds[4]: 30 --- +brand: Google +codename: Pixel2.arm +form: VIRTUAL +formFactor: PHONE +id: Pixel2.arm +manufacturer: Google +name: Pixel 2 (ARM) +screenDensity: 420 +screenX: 1080 +screenY: 1920 +supportedAbis[0]: arm64-v8a +supportedVersionIds[0]: 26 +supportedVersionIds[1]: 27 +supportedVersionIds[2]: 28 +supportedVersionIds[3]: 29 +supportedVersionIds[4]: 30 +supportedVersionIds[5]: 32 +supportedVersionIds[6]: 33 +tags[0]: preview=33 +tags[1]: beta +--- brand: google codename: Pixel3 form: VIRTUAL @@ -392,4 +485,25 @@ screenDensity: 440 screenX: 1080 screenY: 2160 supportedAbis[0]: 30:x86 -supportedVersionIds[0]: 30` +supportedVersionIds[0]: 30 +--- +brand: Android +codename: SmallPhone.arm +form: VIRTUAL +formFactor: PHONE +id: SmallPhone.arm +manufacturer: Generic +name: SmallPhone (ARM) +screenDensity: 320 +screenX: 720 +screenY: 1280 +supportedAbis[0]: arm64-v8a +supportedVersionIds[0]: 26 +supportedVersionIds[1]: 27 +supportedVersionIds[2]: 28 +supportedVersionIds[3]: 29 +supportedVersionIds[4]: 30 +supportedVersionIds[5]: 32 +supportedVersionIds[6]: 33 +tags[0]: preview=33 +tags[1]: beta` diff --git a/step.yml b/step.yml index e97a926..dd8e99c 100755 --- a/step.yml +++ b/step.yml @@ -45,6 +45,10 @@ source_code_url: https://github.com/bitrise-steplib/steps-virtual-device-testing support_url: https://github.com/bitrise-steplib/steps-virtual-device-testing-for-android/issues project_type_tags: - android + - cordova + - ionic + - react-native + - flutter type_tags: - test is_always_run: false @@ -82,23 +86,29 @@ inputs: Available devices and its versions: ``` - ┌─────────────────────┬──────────┬──────────────────────────────────────────┬─────────┬─────────────┬─────────────────────────┬──────┐ - │ MODEL_ID │ MAKE │ MODEL_NAME │ FORM │ RESOLUTION │ OS_VERSION_IDS │ TAGS │ - ├─────────────────────┼──────────┼──────────────────────────────────────────┼─────────┼─────────────┼─────────────────────────┼──────┤ - │ AndroidTablet270dpi │ Generic │ Generic 720x1600 Android tablet @ 270dpi │ VIRTUAL │ 1600 x 720 │ 30 │ │ - │ Nexus10 │ Samsung │ Nexus 10 │ VIRTUAL │ 2560 x 1600 │ 19,21,22 │ │ - │ Nexus4 │ LG │ Nexus 4 │ VIRTUAL │ 1280 x 768 │ 19,21,22 │ │ - │ Nexus5 │ LG │ Nexus 5 │ VIRTUAL │ 1920 x 1080 │ 19,21,22,23 │ │ - │ Nexus5X │ LG │ Nexus 5X │ VIRTUAL │ 1920 x 1080 │ 23,24,25,26 │ │ - │ Nexus6 │ Motorola │ Nexus 6 │ VIRTUAL │ 2560 x 1440 │ 21,22,23,24,25 │ │ - │ Nexus6P │ Google │ Nexus 6P │ VIRTUAL │ 2560 x 1440 │ 23,24,25,26,27 │ │ - │ Nexus7 │ Asus │ Nexus 7 (2012) │ VIRTUAL │ 1280 x 800 │ 19,21,22 │ │ - │ Nexus7_clone_16_9 │ Generic │ Nexus7 clone, DVD 16:9 aspect ratio │ VIRTUAL │ 1280 x 720 │ 23,24,25,26 │ beta │ - │ Nexus9 │ HTC │ Nexus 9 │ VIRTUAL │ 2048 x 1536 │ 21,22,23,24,25 │ │ - │ NexusLowRes │ Generic │ Low-resolution MDPI phone │ VIRTUAL │ 640 x 360 │ 23,24,25,26,27,28,29,30 │ │ - │ Pixel2 │ Google │ Pixel 2 │ VIRTUAL │ 1920 x 1080 │ 26,27,28,29,30 │ │ - │ Pixel3 │ Google │ Pixel 3 │ VIRTUAL │ 2160 x 1080 │ 30 │ │ - └─────────────────────┴──────────┴──────────────────────────────────────────┴─────────┴─────────────┴─────────────────────────┴──────┘ + ┌─────────────────────┬──────────┬──────────────────────────────────────────┬─────────┬─────────────┬─────────────────────────┬──────────────────┐ + │ MODEL_ID │ MAKE │ MODEL_NAME │ FORM │ RESOLUTION │ OS_VERSION_IDS │ TAGS │ + ├─────────────────────┼──────────┼──────────────────────────────────────────┼─────────┼─────────────┼─────────────────────────┼──────────────────┤ + │ AmatiTvEmulator │ Google │ Google TV Amati │ VIRTUAL │ 1080 x 1920 │ 29 │ beta=29 │ + │ AndroidTablet270dpi │ Generic │ Generic 720x1600 Android tablet @ 270dpi │ VIRTUAL │ 1600 x 720 │ 30 │ │ + │ GoogleTvEmulator │ Google │ Google TV │ VIRTUAL │ 720 x 1280 │ 30 │ beta=30 │ + │ MediumPhone.arm │ Generic │ MediumPhone (ARM) │ VIRTUAL │ 2400 x 1080 │ 26,27,28,29,30,32,33 │ preview=33, beta │ + │ MediumTablet.arm │ Generic │ MediumTablet (ARM) │ VIRTUAL │ 2560 x 1600 │ 26,27,28,29,30,32,33 │ preview=33, beta │ + │ Nexus10 │ Samsung │ Nexus 10 │ VIRTUAL │ 2560 x 1600 │ 19,21,22 │ deprecated=19 │ + │ Nexus4 │ LG │ Nexus 4 │ VIRTUAL │ 1280 x 768 │ 19,21,22 │ deprecated=19 │ + │ Nexus5 │ LG │ Nexus 5 │ VIRTUAL │ 1920 x 1080 │ 19,21,22,23 │ deprecated=19 │ + │ Nexus5X │ LG │ Nexus 5X │ VIRTUAL │ 1920 x 1080 │ 23,24,25,26 │ │ + │ Nexus6 │ Motorola │ Nexus 6 │ VIRTUAL │ 2560 x 1440 │ 21,22,23,24,25 │ │ + │ Nexus6P │ Google │ Nexus 6P │ VIRTUAL │ 2560 x 1440 │ 23,24,25,26,27 │ │ + │ Nexus7 │ Asus │ Nexus 7 (2012) │ VIRTUAL │ 1280 x 800 │ 19,21,22 │ deprecated=19 │ + │ Nexus7_clone_16_9 │ Generic │ Nexus7 clone, DVD 16:9 aspect ratio │ VIRTUAL │ 1280 x 720 │ 23,24,25,26 │ beta │ + │ Nexus9 │ HTC │ Nexus 9 │ VIRTUAL │ 2048 x 1536 │ 21,22,23,24,25 │ │ + │ NexusLowRes │ Generic │ Low-resolution MDPI phone │ VIRTUAL │ 640 x 360 │ 23,24,25,26,27,28,29,30 │ │ + │ Pixel2 │ Google │ Pixel 2 │ VIRTUAL │ 1920 x 1080 │ 26,27,28,29,30 │ │ + │ Pixel2.arm │ Google │ Pixel 2 (ARM) │ VIRTUAL │ 1920 x 1080 │ 26,27,28,29,30,32,33 │ preview=33, beta │ + │ Pixel3 │ Google │ Pixel 3 │ VIRTUAL │ 2160 x 1080 │ 30 │ │ + │ SmallPhone.arm │ Generic │ SmallPhone (ARM) │ VIRTUAL │ 1280 x 720 │ 26,27,28,29,30,32,33 │ preview=33, beta │ + └─────────────────────┴──────────┴──────────────────────────────────────────┴─────────┴─────────────┴─────────────────────────┴──────────────────┘ ``` summary: | Format: @@ -111,23 +121,29 @@ inputs: Available devices and its versions: ``` - ┌─────────────────────┬──────────┬──────────────────────────────────────────┬─────────┬─────────────┬─────────────────────────┬──────┐ - │ MODEL_ID │ MAKE │ MODEL_NAME │ FORM │ RESOLUTION │ OS_VERSION_IDS │ TAGS │ - ├─────────────────────┼──────────┼──────────────────────────────────────────┼─────────┼─────────────┼─────────────────────────┼──────┤ - │ AndroidTablet270dpi │ Generic │ Generic 720x1600 Android tablet @ 270dpi │ VIRTUAL │ 1600 x 720 │ 30 │ │ - │ Nexus10 │ Samsung │ Nexus 10 │ VIRTUAL │ 2560 x 1600 │ 19,21,22 │ │ - │ Nexus4 │ LG │ Nexus 4 │ VIRTUAL │ 1280 x 768 │ 19,21,22 │ │ - │ Nexus5 │ LG │ Nexus 5 │ VIRTUAL │ 1920 x 1080 │ 19,21,22,23 │ │ - │ Nexus5X │ LG │ Nexus 5X │ VIRTUAL │ 1920 x 1080 │ 23,24,25,26 │ │ - │ Nexus6 │ Motorola │ Nexus 6 │ VIRTUAL │ 2560 x 1440 │ 21,22,23,24,25 │ │ - │ Nexus6P │ Google │ Nexus 6P │ VIRTUAL │ 2560 x 1440 │ 23,24,25,26,27 │ │ - │ Nexus7 │ Asus │ Nexus 7 (2012) │ VIRTUAL │ 1280 x 800 │ 19,21,22 │ │ - │ Nexus7_clone_16_9 │ Generic │ Nexus7 clone, DVD 16:9 aspect ratio │ VIRTUAL │ 1280 x 720 │ 23,24,25,26 │ beta │ - │ Nexus9 │ HTC │ Nexus 9 │ VIRTUAL │ 2048 x 1536 │ 21,22,23,24,25 │ │ - │ NexusLowRes │ Generic │ Low-resolution MDPI phone │ VIRTUAL │ 640 x 360 │ 23,24,25,26,27,28,29,30 │ │ - │ Pixel2 │ Google │ Pixel 2 │ VIRTUAL │ 1920 x 1080 │ 26,27,28,29,30 │ │ - │ Pixel3 │ Google │ Pixel 3 │ VIRTUAL │ 2160 x 1080 │ 30 │ │ - └─────────────────────┴──────────┴──────────────────────────────────────────┴─────────┴─────────────┴─────────────────────────┴──────┘ + ┌─────────────────────┬──────────┬──────────────────────────────────────────┬─────────┬─────────────┬─────────────────────────┬──────────────────┐ + │ MODEL_ID │ MAKE │ MODEL_NAME │ FORM │ RESOLUTION │ OS_VERSION_IDS │ TAGS │ + ├─────────────────────┼──────────┼──────────────────────────────────────────┼─────────┼─────────────┼─────────────────────────┼──────────────────┤ + │ AmatiTvEmulator │ Google │ Google TV Amati │ VIRTUAL │ 1080 x 1920 │ 29 │ beta=29 │ + │ AndroidTablet270dpi │ Generic │ Generic 720x1600 Android tablet @ 270dpi │ VIRTUAL │ 1600 x 720 │ 30 │ │ + │ GoogleTvEmulator │ Google │ Google TV │ VIRTUAL │ 720 x 1280 │ 30 │ beta=30 │ + │ MediumPhone.arm │ Generic │ MediumPhone (ARM) │ VIRTUAL │ 2400 x 1080 │ 26,27,28,29,30,32,33 │ preview=33, beta │ + │ MediumTablet.arm │ Generic │ MediumTablet (ARM) │ VIRTUAL │ 2560 x 1600 │ 26,27,28,29,30,32,33 │ preview=33, beta │ + │ Nexus10 │ Samsung │ Nexus 10 │ VIRTUAL │ 2560 x 1600 │ 19,21,22 │ deprecated=19 │ + │ Nexus4 │ LG │ Nexus 4 │ VIRTUAL │ 1280 x 768 │ 19,21,22 │ deprecated=19 │ + │ Nexus5 │ LG │ Nexus 5 │ VIRTUAL │ 1920 x 1080 │ 19,21,22,23 │ deprecated=19 │ + │ Nexus5X │ LG │ Nexus 5X │ VIRTUAL │ 1920 x 1080 │ 23,24,25,26 │ │ + │ Nexus6 │ Motorola │ Nexus 6 │ VIRTUAL │ 2560 x 1440 │ 21,22,23,24,25 │ │ + │ Nexus6P │ Google │ Nexus 6P │ VIRTUAL │ 2560 x 1440 │ 23,24,25,26,27 │ │ + │ Nexus7 │ Asus │ Nexus 7 (2012) │ VIRTUAL │ 1280 x 800 │ 19,21,22 │ deprecated=19 │ + │ Nexus7_clone_16_9 │ Generic │ Nexus7 clone, DVD 16:9 aspect ratio │ VIRTUAL │ 1280 x 720 │ 23,24,25,26 │ beta │ + │ Nexus9 │ HTC │ Nexus 9 │ VIRTUAL │ 2048 x 1536 │ 21,22,23,24,25 │ │ + │ NexusLowRes │ Generic │ Low-resolution MDPI phone │ VIRTUAL │ 640 x 360 │ 23,24,25,26,27,28,29,30 │ │ + │ Pixel2 │ Google │ Pixel 2 │ VIRTUAL │ 1920 x 1080 │ 26,27,28,29,30 │ │ + │ Pixel2.arm │ Google │ Pixel 2 (ARM) │ VIRTUAL │ 1920 x 1080 │ 26,27,28,29,30,32,33 │ preview=33, beta │ + │ Pixel3 │ Google │ Pixel 3 │ VIRTUAL │ 2160 x 1080 │ 30 │ │ + │ SmallPhone.arm │ Generic │ SmallPhone (ARM) │ VIRTUAL │ 1280 x 720 │ 26,27,28,29,30,32,33 │ preview=33, beta │ + └─────────────────────┴──────────┴──────────────────────────────────────────┴─────────┴─────────────┴─────────────────────────┴──────────────────┘ ``` is_required: true - test_type: "robo"