Skip to content

Commit

Permalink
Update android.yml to run ui test (euphony-io#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
zion830 committed Sep 5, 2022
1 parent 555b77a commit 1bd2139
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,22 @@ jobs:

- name: Build with Gradle
run: ./gradlew build

test:
runs-on: macos-latest
steps:
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
ui:
- 'ui/**'
- uses: actions/checkout@v3

- name: Run Android Tests
if: steps.changes.outputs.ui == 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: ./gradlew connectedAndroidTest

0 comments on commit 1bd2139

Please sign in to comment.