Skip to content

Commit

Permalink
adjust workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ened committed Apr 7, 2024
1 parent a173342 commit 7c4e201
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,15 @@ jobs:
run: |
./bin/quality_checks.sh
- name: Android native tests
- name: Build android app & run native tests
run: |
#!/bin/bash -ex
cd example/android && ls && ./gradlew detekt && ./gradlew testDebugUnitTest
cd example
flutter build apk --debug
- name: Build android app
run: |
cd example && flutter build apk --debug
cd android
./gradlew detekt
./gradlew testDebugUnitTest
- name: Build iOS app
run: |
Expand Down
4 changes: 2 additions & 2 deletions example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ subprojects {
project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
}

0 comments on commit 7c4e201

Please sign in to comment.