Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
check-square

GitHub Action

Appium Server Action

V1.0.3

Appium Server Action

check-square

Appium Server Action

Install and Run Appium Server for your Android and iOS mobile testing

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Appium Server Action

uses: moatazeldebsy/[email protected]

Learn more about this action in moatazeldebsy/Appium-Server-GitHub-Action

Choose a version

Appium-Server-GitHub-Action

Running Appium Server with GitHub Action to be able to run Appium mobile test automation scripts

Release Marketplace

appium

What is Appium?

Appium is an open-source test automation framework for use with native, hybrid and mobile web apps. It drives iOS, Android, and Windows apps using the WebDriver protocol.

appium

What is the problem ?

The problem now that, how can we run an Appium server on GitHub Actions? Because we are using a GUI tool like Appium Desktop on our local machines, So we need to run the Appium server from the command line and in the background to be able to run the rest of the commands.

The Solution

I created this GitHub action to install the Appium server using nodeJS and npm then running it in the background.

Usage

workflow/main.yml:

name: Android CI
on: [push]

jobs:
  Sauce Labs App Automate:
    runs-on: ubuntu-latest
    name: A job to say hello
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Hello world action step
        uses: moatazeldebsy/[email protected]
        id: appium server

Usage with Android Gradle to build your app

workflow/android.yml:

name: Android CI

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

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - 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]

Contributing

Are you facing an issue? Have some questions? Would like to implement a new feature? Learn more about our contributing guidelines.


Licence

The project is released under the MIT License.