Test using Maestro CLI + emulator instead of Cloud (#4092)
Add Maestro local CI workflow: - Remove previous Maestro Cloud. - Use an emulator with Pixel 7 Pro - API 35. - Allow to record several videos in the background to verify the run. - Upload test results. - Allow either dispatching a new flow, running the 'build apk' job or run with a PR after the 'Build APK' flow has succeeded.
This commit is contained in:
parent
bb74fed493
commit
271f032d95
6 changed files with 132 additions and 32 deletions
19
.github/workflows/scripts/maestro/local-recording.sh
vendored
Executable file
19
.github/workflows/scripts/maestro/local-recording.sh
vendored
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Copyright 2024 New Vector Ltd.
|
||||
#
|
||||
# SPDX-License-Identifier: AGPL-3.0-only
|
||||
# Please see LICENSE in the repository root for full details.
|
||||
#
|
||||
|
||||
COUNT=0
|
||||
mkdir -p /data/local/tmp/recordings;
|
||||
FILENAME=/data/local/tmp/recordings/testRecording$COUNT.mp4
|
||||
while true
|
||||
do
|
||||
((COUNT++))
|
||||
FILENAME=/data/local/tmp/recordings/testRecording$COUNT.mp4
|
||||
echo "\nRecording video file #$COUNT"
|
||||
screenrecord --bugreport --bit-rate=16m --size 720x1280 $FILENAME
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue