Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
moatazeldebsy committed Mar 20, 2020
1 parent b163795 commit 191721c
Showing 1 changed file with 21 additions and 15 deletions.
36 changes: 21 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,39 +37,45 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Hello world action step
uses: moatazeldebsy/[email protected]
id: appium server
- name: Install and Run Appium Server
uses: moatazeldebsy/[email protected]
```
<br>
## Usage with Android Gradle to build your app
## Usage with Appium and Android Gradle
workflow/android.yml:
```yaml
name: Android CI
name: Appium CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
api-level: [25]
target: [default]
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Sauce Labs App Automate Action
uses: moatazeldebsy/[email protected]
- name: Install and Run Appium Server
uses: moatazeldebsy/[email protected]

- name: Run Appium Tests
uses: reactivecircus/android-emulator-runner@v1
with:
api-level: ${{ matrix.api-level }}
target: ${{ matrix.target }}
arch: x86_64
profile: Nexus 6
script: ./gradlew test --info

```

Expand Down

0 comments on commit 191721c

Please sign in to comment.