Skip to content

Commit 675f33a

Browse files
committed
Matrix emulator capability
1 parent 02d52ef commit 675f33a

File tree

49 files changed

+7
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+7
-5
lines changed

.github/workflows/Android-CI.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
api: [ 28, 33, 34 ]
2222
tag: [ default, google_apis ]
2323
abi: [ x86_64, x86 ]
24+
emulatorApi: [ 9 ]
2425
java_version: [ 17 ]
2526
steps:
2627
- name: Checkout
@@ -59,31 +60,32 @@ jobs:
5960
uses: actions/upload-artifact@v4
6061
if: ${{ always() }}
6162
with:
62-
name: MPChart-Espresso-report-${{ matrix.api }}-${{ matrix.tag }}-${{ matrix.abi }}
63+
name: MPChart-Espresso-report-${{ matrix.api }}-${{ matrix.tag }}-${{ matrix.abi }}-${{ matrix.emulatorApi }}
6364
path: MPChartExample/build/reports/androidTests/connected
6465
if-no-files-found: error
6566
- name: Archive screenshots
6667
if: ${{ always() }}
6768
uses: actions/upload-artifact@v4
6869
with:
69-
name: MPChart-Screenshots-${{ matrix.api }}-${{ matrix.tag }}-${{ matrix.abi }}
70+
name: MPChart-Screenshots-${{ matrix.api }}-${{ matrix.tag }}-${{ matrix.abi }}-${{ matrix.emulatorApi }}
7071
path: |
7172
MPChartExample/build/outputs/connected_android_test_additional_output/debugAndroidTest/connected
7273
MPChartExample/build/outputs/androidTest-results/connected
73-
- name: Compare screenshots
74+
- name: Compare screenshots -${{ matrix.emulatorApi }}
7475
env:
7576
CLASSIC_TOKEN: ${{ secrets.CLASSIC_TOKEN }}
77+
emulatorApi: ${{ matrix.emulatorApi }}
7678
run: |
7779
ls -ls MPChartExample/build/outputs/connected_android_test_additional_output/debugAndroidTest/connected
78-
cp MPChartExample/build/outputs/connected_android_test_additional_output/debugAndroidTest/connected/emulator-5554\ -\ 9/* screenshotsToCompare
80+
cp MXApp/build/outputs/connected_android_test_additional_output/paidDebugAndroidTest/connected/emulator\(AVD\)\ -\ ${{ matrix.emulatorApi }}/* screenshotsToCompare${{ matrix.emulatorApi }}
7981
export DISPLAY=:99
8082
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
8183
./screenShotCompare.sh
8284
- name: Archive screenshots diffs
8385
if: ${{ always() }}
8486
uses: actions/upload-artifact@v4
8587
with:
86-
name: MPChart-Screenshots-diffs-${{ matrix.api }}-${{ matrix.tag }}-${{ matrix.abi }}
88+
name: MPChart-Screenshots-diffs-${{ matrix.api }}-${{ matrix.tag }}-${{ matrix.abi }}-${{ matrix.emulatorApi }}
8789
path: |
8890
screenshotDiffs
8991
- name: Show git status
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)