diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 560e11d..7b061c4 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -63,11 +63,11 @@ jobs: - name: Grant execute permission for gradlew run: chmod +x ./gradlew - - name: Lint - run: ./gradlew lint --no-daemon + - name: Lint (debug variant only) + run: ./gradlew lintDebug --no-daemon - name: Unit tests - run: ./gradlew test --no-daemon + run: ./gradlew testDebugUnitTest --no-daemon - name: Assemble debug APK run: ./gradlew assembleDebug --no-daemon diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index cf679f6..9c2a32a 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -37,11 +37,12 @@ jobs: - name: Grant execute permission for gradlew run: chmod +x ./gradlew - - name: Lint - run: ./gradlew lint --no-daemon + # Lint already enforced on every push to main via ci.yaml. + # Release sanity only re-runs tests + a debug build to catch + # any tag-resolved drift (e.g. version code substitution issues). - name: Unit tests - run: ./gradlew test --no-daemon + run: ./gradlew testDebugUnitTest --no-daemon - name: Assemble debug APK (sanity) run: ./gradlew assembleDebug --no-daemon