unit tests #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: iOS Appium Tests | |
on: [push, pull_request] | |
jobs: | |
ios-test: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: Install Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- name: Install Appium | |
run: npm install -g appium | |
- name: Install Appium Doctor | |
run: npm install -g appium-doctor | |
- name: Check Appium configuration | |
run: appium-doctor --ios | |
- name: Install Carthage | |
run: brew install carthage | |
# Additional steps for configuring WebDriverAgent | |
# Install additional dependencies or tools you might need | |
- name: Start Appium Server | |
run: appium & | |
- name: Run iOS UI tests | |
run: # Add command to run your iOS tests here. E.g., a script to start Appium tests. | |
# Optional: Steps to upload artifacts like test reports or screenshots |