You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Appium Server Action
V1.0.0
Running Appium Server with GitHub Action to be able to run Appium mobile test automation scripts
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.
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.
I created this GitHub action to install the Appium server using nodeJS and npm then running it in the background.
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
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]