|
|
@ -34,16 +34,16 @@ jobs:
|
|
|
|
uses: gradle/gradle-build-action@v2
|
|
|
|
uses: gradle/gradle-build-action@v2
|
|
|
|
|
|
|
|
|
|
|
|
- name: Check spotless
|
|
|
|
- name: Check spotless
|
|
|
|
run: ./gradlew spotlessCheck --init-script gradle/init.gradle.kts --no-configuration-cache --stacktrace
|
|
|
|
run: ./gradlew spotlessCheck --init-script gradle/init.gradle.kts --no-configuration-cache
|
|
|
|
|
|
|
|
|
|
|
|
- name: Check lint
|
|
|
|
- name: Check lint
|
|
|
|
run: ./gradlew lintDemoDebug --stacktrace
|
|
|
|
run: ./gradlew lintDemoDebug
|
|
|
|
|
|
|
|
|
|
|
|
- name: Build all build type and flavor permutations
|
|
|
|
- name: Build all build type and flavor permutations
|
|
|
|
run: ./gradlew assemble --stacktrace
|
|
|
|
run: ./gradlew assemble
|
|
|
|
|
|
|
|
|
|
|
|
- name: Run local tests
|
|
|
|
- name: Run local tests
|
|
|
|
run: ./gradlew testDemoDebug testProdDebug --stacktrace
|
|
|
|
run: ./gradlew testDemoDebug testProdDebug
|
|
|
|
|
|
|
|
|
|
|
|
- name: Upload build outputs (APKs)
|
|
|
|
- name: Upload build outputs (APKs)
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
@ -90,7 +90,7 @@ jobs:
|
|
|
|
disable-animations: true
|
|
|
|
disable-animations: true
|
|
|
|
disk-size: 6000M
|
|
|
|
disk-size: 6000M
|
|
|
|
heap-size: 600M
|
|
|
|
heap-size: 600M
|
|
|
|
script: ./gradlew connectedProdDebugAndroidTest -x :benchmark:connectedProdBenchmarkAndroidTest --stacktrace
|
|
|
|
script: ./gradlew connectedProdDebugAndroidTest -x :benchmark:connectedProdBenchmarkAndroidTest
|
|
|
|
|
|
|
|
|
|
|
|
- name: Upload test reports
|
|
|
|
- name: Upload test reports
|
|
|
|
if: always()
|
|
|
|
if: always()
|
|
|
|