Skip to content

Commit 6a03638

Browse files
authored
Merge pull request #6 from devicecloud-dev/add-device-readme
Add device readme
2 parents 44c6fdb + facf2f9 commit 6a03638

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,3 +239,33 @@ You can specify which version of Maestro to use (ALPHA feature):
239239
app-file: app.apk
240240
maestro-version: 1.39.0
241241
```
242+
243+
# Specifying Device Models
244+
245+
You can target specific device models for your tests using the `android-device` or `ios-device` parameters.
246+
247+
See a full list of available device models [here](https://docs.devicecloud.dev/getting-started/devices-configuration).
248+
249+
## Android Device
250+
251+
Specify an Android device model to run your tests on:
252+
253+
```yaml
254+
- uses: devicecloud-dev/device-cloud-for-maestro@v1
255+
with:
256+
api-key: ${{ secrets.DCD_API_KEY }}
257+
app-file: app.apk
258+
android-device: pixel-6
259+
```
260+
261+
## iOS Device
262+
263+
Specify an iOS device model to run your tests on:
264+
265+
```yaml
266+
- uses: devicecloud-dev/device-cloud-for-maestro@v1
267+
with:
268+
api-key: ${{ secrets.DCD_API_KEY }}
269+
app-file: app.zip
270+
ios-device: iphone-14
271+
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "dcd-github-action",
33
"description": "run maestro tests on devicecloud.dev",
44
"author": "devicecloud.dev",
5-
"version": "1.1.1",
5+
"version": "1.1.2",
66
"main": "src/index.ts",
77
"license": "MIT",
88
"engines": {

0 commit comments

Comments
 (0)