From ac1c31cacbdb53d656214552721d25c98050e189 Mon Sep 17 00:00:00 2001 From: Alexander Capehart Date: Mon, 16 Dec 2024 19:02:31 -0500 Subject: [PATCH] actions: improve format/test checks - Only test musikr since it's the only thing with tests - Check formatting rather than autoformatting on build --- .github/workflows/android.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index e58bf6ff9..59383ae5d 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -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