e-mission-phone
e-mission-phone copied to clipboard
Appium Android Github Action Test
related issue : #1099
This PR is for testing Appium Android on GitHub Actions. For cleaner commit messages, I will close this PR and then add the final codes in #1099.
Checklist
- [x] Android Emulator Setup
- [x] Rum Appium Server
- [ ] Run Test Script
Step 1: Android Emulator Setup
To set up the Android Emulator on the GitHub Environment, I utilized the android-emulator-runner public GitHub Action workflow. This workflow automates the process of running Android Emulator tests in CI/CD pipeline.
However, I encountered an issue related to the Gradle version. This problem arose because the default Java version in the GitHub environment is Java 1.8, whereas our requirements dictate Java 11. To address this, I added a workflow to set up JDK 11. This change ensures compatibility and resolves the Gradle version error.
For more details on the issue and the solution, you can refer to this GitHub issue.
Step2. Run Appium Server
Need to run server in background