Add unit tests

This commit is contained in:
Kirill Kamakin
2022-10-31 19:41:49 +01:00
parent 98e082b95e
commit 7c02df4d30
27 changed files with 903 additions and 180 deletions

View File

@@ -14,7 +14,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./gradlew check coverageReport sonar --no-daemon --no-configuration-cache --no-build-cache
run: ./gradlew check coverageReport sonar --no-configuration-cache
- name: Publish test reports
uses: mikepenz/action-junit-report@v3

View File

@@ -28,7 +28,7 @@ jobs:
echo "storePassword=$MEALIENT_KEY_STORE_PASSWORD" >> keystore.properties
echo "keyAlias=$MEALIENT_KEY_ALIAS" >> keystore.properties
echo "keyPassword=$MEALIENT_KEY_PASSWORD" >> keystore.properties
./gradlew build coverageReport sonar uploadToAppSweepRelease --no-daemon --no-configuration-cache --no-build-cache
./gradlew build coverageReport sonar uploadToAppSweepRelease --no-configuration-cache
cp app/build/outputs/apk/release/*.apk mealient-release.apk
- name: Upload signed APK