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
|
cache: gradle
|
||||||
- name: Grant execute permission for gradlew
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
- name: Test app with Gradle
|
- name: Check formatting with spotless
|
||||||
run: ./gradlew app:testDebug
|
run: ./gradlew spotlessCheck
|
||||||
|
- name: Test musikr with Gradle
|
||||||
|
run: ./gradlew musikr:testDebug
|
||||||
- name: Build debug APK with Gradle
|
- name: Build debug APK with Gradle
|
||||||
run: ./gradlew app:packageDebug
|
run: ./gradlew app:packageDebug
|
||||||
- name: Upload debug APK artifact
|
- name: Upload debug APK artifact
|
||||||
|
|
Loading…
Reference in a new issue