actions: improve format/test checks
- Only test musikr since it's the only thing with tests - Check formatting rather than autoformatting on build
This commit is contained in:
parent
ee0c643115
commit
ac1c31cacb
1 changed files with 4 additions and 2 deletions
6
.github/workflows/android.yml
vendored
6
.github/workflows/android.yml
vendored
|
@ -25,8 +25,10 @@ jobs:
|
|||
cache: gradle
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
- name: Test app with Gradle
|
||||
run: ./gradlew app:testDebug
|
||||
- name: Check formatting with spotless
|
||||
run: ./gradlew spotlessCheck
|
||||
- name: Test musikr with Gradle
|
||||
run: ./gradlew musikr:testDebug
|
||||
- name: Build debug APK with Gradle
|
||||
run: ./gradlew app:packageDebug
|
||||
- name: Upload debug APK artifact
|
||||
|
|
Loading…
Reference in a new issue