Run tests before compiling APK in CI (#3174)

This commit is contained in:
MajorTanya
2026-03-31 01:17:26 +02:00
committed by GitHub
parent 52fc38e965
commit d75db63258
+3 -3
View File
@@ -44,9 +44,6 @@ jobs:
- name: Check code format - name: Check code format
run: ./gradlew spotlessCheck run: ./gradlew spotlessCheck
- name: Build app
run: ./gradlew assembleRelease -Pinclude-telemetry -Penable-updater
- name: Run unit tests - name: Run unit tests
id: unit_tests id: unit_tests
run: ./gradlew testReleaseUnitTest run: ./gradlew testReleaseUnitTest
@@ -61,6 +58,9 @@ jobs:
name: test-report-${{ github.sha }} name: test-report-${{ github.sha }}
path: app/build/reports/tests/testReleaseUnitTest path: app/build/reports/tests/testReleaseUnitTest
- name: Build app
run: ./gradlew assembleRelease -Pinclude-telemetry -Penable-updater
- name: Upload APK - name: Upload APK
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with: with: