[241122] 디바이스팜에 필요한 패키지 설치 #5
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
#TODO: AWS 디바이스팜으로 수정하기 | |
#AWS 디바이스팜은 디렉토리 구조를 잡아야 하기에 우선은 다른 테스트들 공부한 후에 통합하기 | |
#name: Run Appium Tests | |
# | |
#on: | |
# push: | |
# branches: | |
# - main | |
#jobs: | |
# appium-test: | |
# runs-on: ubuntu-latest | |
# | |
# steps: | |
# - name: Checkout repository | |
# uses: actions/checkout@v4 | |
# | |
# - name: Setup Python | |
# uses: actions/setup-python@v4 | |
# with: | |
# python-version: '3.*' | |
# | |
# - name: Set up JDK 17 | |
# uses: actions/setup-java@v4 | |
# with: | |
# java-version: '17' | |
# distribution: 'temurin' | |
# | |
# - name: Use Node.js 18 | |
# uses: actions/setup-node@v4 | |
# with: | |
# node-version: "18.*" | |
# | |
# - name: Setup Android SDK | |
# uses: android-actions/setup-android@v3 | |
# | |
# - name: Install dependencies | |
# run: | | |
# python -m pip install --upgrade pip | |
# pip install -r web/requirements.txt | |
# npm install -g appium | |
# appium --version | |
# | |
# - name: Run UI test | |
# uses: reactivecircus/android-emulator-runner@v2 | |
# with: | |
# api-level: 29 | |
# arch: x86_64 | |
# profile: Nexus 6 | |
# script: | | |
# adb wait-for-device | |
# adb shell getprop sys.boot_completed | |
# python -m unittest app/Tests/main_test.py |