Skip to content

Commit

Permalink
Update android-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Mercy811 committed Feb 23, 2024
1 parent 59693eb commit a8962f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/android-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,14 @@ jobs:
java-version: '11'
distribution: 'temurin'

- name: Install Flutter packages for example project
run: cd example && flutter pub get

- name: Generate local.properties
run: |
echo "flutter.sdk=$(which flutter | sed 's|/bin/flutter||')" > example/android/local.properties
echo "sdk.dir=${ANDROID_HOME}" >> example/android/local.properties
echo "flutter.buildMode=debug" >> example/android/local.properties
- name: Unit Test
run: cd example/android && ./gradlew testDebugUnitTest
run: cd android && ./gradlew testDebugUnitTest

0 comments on commit a8962f9

Please sign in to comment.