Setup testing on Android Chrome #45
Workflow file for this run
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
on: | |
pull_request: | |
branches: main | |
schedule: | |
- cron: '25 2 * * 6' | |
jobs: | |
code-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
- name: Setup Android SDK | |
uses: android-actions/setup-android@v3 | |
with: | |
packages: 'platform-tools emulator platforms;android-35' | |
- run: npm install -g appium | |
name: Install appium | |
- name: Install UIAutomator2 | |
run: appium driver install uiautomator2 | |
- name: Check UIAutomator2 installation | |
run: appium driver doctor uiautomator2 | |
- name: Run appium server in the background | |
run: appium & | |
- name: Install python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install front end dependencies | |
run: python3.12 -m install_front_end_deps | |
- name: Install python packages | |
run: | | |
python3.12 -m pip install --upgrade pip | |
python3.12 -m pip install -r requirements-dev.txt | |
- name: Run code checks | |
run: ./code_checks.sh |