Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change api level to 27 for UI test #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/build_pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,31 @@ jobs:
with:
name: test-reports
path: '**/build/reports/tests/'

run_android_tests:
name: Android UI Test
runs-on: macos-latest # more reliable for ui tests
steps:
- name: Checkout
uses: actions/checkout@v2

# make gradlew executable
- name: Make gradlew executable
run: chmod +x ./gradlew

- name: Run Android UI Tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 27
script: ./gradlew connectedDebugAndroidTest

- name: Upload Android Test Reports
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: android-test-reports
path: '**/build/reports/androidTests/'


assemble_debug_apk:
name: Assemble debug APK
Expand Down