Pin CI to Java 17 and report full test failures
Build and Release APK / Build APK (push) Successful in 10m27s

This commit is contained in:
2026-10-21 23:04:17 +02:00
parent d27edde5e8
commit d1daee9cbc
3 changed files with 18 additions and 0 deletions
+6
View File
@@ -17,6 +17,12 @@ jobs:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up Java 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '17'
- name: Test release signing checks - name: Test release signing checks
run: python3 -m unittest discover -s .gitea/tests -v run: python3 -m unittest discover -s .gitea/tests -v
+1
View File
@@ -189,6 +189,7 @@ QUIK is released under the **The GNU General Public License v3.0 (GPLv3)**, whic
## Automated release checks ## Automated release checks
The workflow pins JDK 17 so test and build tools use the same Java runtime.
Before building or publishing APKs, Gitea Actions runs Robolectric tests against the actual Before building or publishing APKs, Gitea Actions runs Robolectric tests against the actual
`InjectionWorkerFactory`. They construct every worker type used by Quik and the Matrix bridge, `InjectionWorkerFactory`. They construct every worker type used by Quik and the Matrix bridge,
verify SMS/MMS dependency injection, and exercise the Matrix watcher's service-start intent. verify SMS/MMS dependency injection, and exercise the Matrix watcher's service-start intent.
+11
View File
@@ -36,6 +36,17 @@ def releaseKeyPassword = System.getenv('ANDROID_KEY_PASSWORD') ?: System.getenv(
android { android {
compileSdk 34 compileSdk 34
testOptions {
unitTests.all {
testLogging {
events 'failed', 'skipped'
exceptionFormat 'full'
showCauses true
showStackTraces true
}
}
}
defaultConfig { defaultConfig {
applicationId 'uk.labus.quik.remotrix' applicationId 'uk.labus.quik.remotrix'
minSdkVersion 24 minSdkVersion 24