[CI] Don't run lint/unit tests on release variant

This commit is contained in:
Ricki Hirner
2024-06-29 10:05:59 +02:00
parent 8849b363c7
commit 6b6573ddd2

View File

@@ -44,8 +44,10 @@ jobs:
cache-encryption-key: ${{ secrets.gradle_encryption_key }}
cache-read-only: true
- name: Run lint and unit tests
run: ./gradlew --build-cache --configuration-cache --configuration-cache-problems=warn app:check
- name: Run lint
run: ./gradlew --build-cache --configuration-cache --configuration-cache-problems=warn app:lintOseDebug
- name: Run unit tests
run: ./gradlew --build-cache --configuration-cache --configuration-cache-problems=warn app:testOseDebugUnitTest
# generates the build caches because it uses more gradle dependencies
test_on_emulator: