forked from upstream-mirrors/quik
Pin CI to Java 17 and report full test failures
Build and Release APK / Build APK (push) Successful in 10m27s
Build and Release APK / Build APK (push) Successful in 10m27s
This commit is contained in:
@@ -17,6 +17,12 @@ jobs:
|
||||
- name: Checkout Repository
|
||||
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
|
||||
run: python3 -m unittest discover -s .gitea/tests -v
|
||||
|
||||
|
||||
@@ -189,6 +189,7 @@ QUIK is released under the **The GNU General Public License v3.0 (GPLv3)**, whic
|
||||
|
||||
## 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
|
||||
`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.
|
||||
|
||||
@@ -36,6 +36,17 @@ def releaseKeyPassword = System.getenv('ANDROID_KEY_PASSWORD') ?: System.getenv(
|
||||
android {
|
||||
compileSdk 34
|
||||
|
||||
testOptions {
|
||||
unitTests.all {
|
||||
testLogging {
|
||||
events 'failed', 'skipped'
|
||||
exceptionFormat 'full'
|
||||
showCauses true
|
||||
showStackTraces true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
applicationId 'uk.labus.quik.remotrix'
|
||||
minSdkVersion 24
|
||||
|
||||
Reference in New Issue
Block a user