{"id":23060271,"url":"https://github.com/moatazeldebsy/appium-server-github-action","last_synced_at":"2025-04-03T07:15:41.832Z","repository":{"id":65160944,"uuid":"248742847","full_name":"moatazeldebsy/Appium-Server-GitHub-Action","owner":"moatazeldebsy","description":"Running Appium Server with GitHub Action to be able to run Appium mobile test automation scripts","archived":false,"fork":false,"pushed_at":"2024-10-22T08:45:31.000Z","size":205,"stargazers_count":44,"open_issues_count":0,"forks_count":14,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-08T20:47:42.012Z","etag":null,"topics":["appium","appium-android","appium-automation","appium-ios","appium-server","appium-tests"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moatazeldebsy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-20T11:50:47.000Z","updated_at":"2024-12-05T14:52:33.000Z","dependencies_parsed_at":"2024-12-16T03:11:52.249Z","dependency_job_id":null,"html_url":"https://github.com/moatazeldebsy/Appium-Server-GitHub-Action","commit_stats":{"total_commits":20,"total_committers":2,"mean_commits":10.0,"dds":"0.19999999999999996","last_synced_commit":"05d9d683e555e7636d68a48360f1cf7c117ddda5"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moatazeldebsy%2FAppium-Server-GitHub-Action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moatazeldebsy%2FAppium-Server-GitHub-Action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moatazeldebsy%2FAppium-Server-GitHub-Action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moatazeldebsy%2FAppium-Server-GitHub-Action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moatazeldebsy","download_url":"https://codeload.github.com/moatazeldebsy/Appium-Server-GitHub-Action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246952274,"owners_count":20859812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["appium","appium-android","appium-automation","appium-ios","appium-server","appium-tests"],"created_at":"2024-12-16T03:11:48.522Z","updated_at":"2025-04-03T07:15:41.804Z","avatar_url":"https://github.com/moatazeldebsy.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Appium Server GitHub Action\n\n[![Release](https://img.shields.io/github/release/moatazeldebsy/Appium-Server-GitHub-Action.svg)](https://github.com/moatazeldebsy/Appium-Server-GitHub-Action/releases)\n[![Marketplace](https://img.shields.io/badge/GitHub-Marketplace-blue.svg)](https://github.com/marketplace/actions/appium-server-action)\n\nRunning `Appium` Server with `GitHub Action` to be able to run `Appium` mobile test automation scripts (`Android`)\n\nInspired by the 2020 [GitHub Actions Hackathon.](https://githubhackathon.com/)\n\n### Note\n\u003e This action is expected to be run within a ubuntu virtual machine and Android apps\n\n\u003cimg src=\"img/0.png\" alt=\"appium\" align=\"middle\" /\u003e\n\n\n### What is Appium?\nAppium is an open-source test automation framework for use with native, hybrid and mobile web apps. \nIt drives iOS, Android, and Windows apps using the WebDriver protocol.\n\n\n\u003cimg src=\"img/1.png\" alt=\"appium\" align=\"middle\" /\u003e\n\n### What is the problem ?\nThe problem now that, how can we run an Appium server on GitHub Actions?\nBecause 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.\n\n### The Solution\n\nI created  this GitHub action to install the Appium server using nodeJS and npm then running it in the background.\n\n## Usage\n\nworkflow/main.yml:\n\n```yaml\nname: Appium CI\non: [push]\n\njobs:\n  Sauce Labs App Automate:\n    runs-on: ubuntu-latest\n    name: Appium Test\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n       - name: Install and Run Appium Server\n         uses: moatazeldebsy/appium-server-gitHub-action@V1.0.4\n```\n\n\u003cbr\u003e\n\n## Usage in in the code\n\n```java\n@BeforeClass\n    public void setUp() throws MalformedURLException {\n        DesiredCapabilities caps = new DesiredCapabilities();\n        caps.setCapability(\"automationName\" , \"UiAutomator1\");\n        caps.setCapability(\"platformName\" , \"Android\");\n        caps.setCapability(\"platformVersion\" , \"7.1.1\");\n        caps.setCapability(\"deviceName\" , \"Android Emulator\");\n        caps.setCapability(\"app\" , System.getProperty(\"user.dir\")+\"/apps/selendroid-test-app-0.17.0.apk\");\n        driver = new AndroidDriver\u003c\u003e(new URL(\"http://localhost:4723/wd/hub\"), caps);\n    }\n```\n## Contributing\n\nAre you facing an issue? Have some questions? Would like to implement a new feature? Learn more about our [contributing guidelines](CONTRIBUTING.md).\n\n\u003cbr\u003e\n\n## Licence\n\nThe project is released under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoatazeldebsy%2Fappium-server-github-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoatazeldebsy%2Fappium-server-github-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoatazeldebsy%2Fappium-server-github-action/lists"}