Skip to content

Commit

Permalink
Update android.yml to test compose code (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 0156f53
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,23 @@ jobs:

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

test:
runs-on: macos-latest
if: hashFiles('ui/**')
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 0156f53

Please sign in to comment.