Skip to content

Commit 295dc64

Browse files
riglarclaude
andcommitted
Add daily Android test workflow on m1 runner
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent d977d6c commit 295dc64

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Test Android Devices [m1]
2+
3+
on:
4+
# Run daily at 9 PM UTC
5+
schedule:
6+
- cron: '0 21 * * *'
7+
# Allow manual triggering
8+
workflow_dispatch:
9+
inputs:
10+
environment:
11+
description: "Environment to run tests against"
12+
type: choice
13+
options:
14+
- prod
15+
- dev
16+
default: "prod"
17+
required: true
18+
use-beta:
19+
description: "Use beta version"
20+
type: boolean
21+
default: false
22+
required: false
23+
24+
jobs:
25+
test-android-devices:
26+
name: pixel-7 - API 34
27+
runs-on: ubuntu-latest
28+
29+
steps:
30+
- uses: actions/checkout@v3
31+
32+
- name: Run Android Device Test
33+
uses: devicecloud-dev/device-cloud-for-maestro@v2
34+
with:
35+
api-key: ${{ github.event.inputs.environment == 'dev' && secrets.DCD_DEV_API_KEY || secrets.DCD_API_KEY }}
36+
api-url: ${{ github.event.inputs.environment == 'dev' && 'https://api.dev.devicecloud.dev' || '' }}
37+
app-file: ./binaries/sample.apk
38+
workspace: ./flows/android-flow.yaml
39+
android-device: pixel-7
40+
android-api-level: "34"
41+
runner-type: m1
42+
use-beta: ${{ github.event.inputs.use-beta }}
43+
retry: 1
44+
name: "pixel-7 - Android API 34 Test Run [m1]"

0 commit comments

Comments
 (0)