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:
Alexander Capehart 2024-12-16 19:02:31 -05:00
parent ee0c643115
commit ac1c31cacb
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47

View file

@ -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