forked from upstream-mirrors/quik
Gate APK releases on worker factory and Matrix regression tests
Build and Release APK / Build APK (push) Failing after 2m46s
Build and Release APK / Build APK (push) Failing after 2m46s
This commit is contained in:
@@ -186,3 +186,23 @@ QUIK is developed and maintained by [Marcos Jones](https://github.com/octoshrimp
|
||||
## License
|
||||
|
||||
QUIK is released under the **The GNU General Public License v3.0 (GPLv3)**, which can be found in the [LICENSE](LICENSE) file in the root of this project.
|
||||
|
||||
## Automated release checks
|
||||
|
||||
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.
|
||||
These tests use simulated Android services and mocked repositories, without sending SMS or
|
||||
connecting to Matrix. Matrix room creation, client shutdown, reset and history import also have
|
||||
regression tests. Signing checks run separately.
|
||||
|
||||
Run the same runtime gate locally with JDK 17 and the Android SDK:
|
||||
|
||||
```sh
|
||||
./gradlew :presentation:cleanTestDebugUnitTest :remotrix-sync:cleanTestDebugUnitTest :presentation:testDebugUnitTest :remotrix-sync:testDebugUnitTest
|
||||
python3 .gitea/scripts/check_test_results.py
|
||||
```
|
||||
|
||||
The gate rejects failures, missing required suites, and skipped critical tests. A failed gate
|
||||
stops the workflow before publication. These tests cover known regression scenarios; they do
|
||||
not replace testing the installed Release APK on Android devices.
|
||||
|
||||
Reference in New Issue
Block a user