android-test: matrix published + stable-self + master builds
Add run-android-variant-matrix.sh so smoke covers F-Droid stable APK, a self-build of the same release tag (wallet-1.6.1), and origin/master. Build helper accepts tags; avoids relying on a single developer tree.
This commit is contained in:
parent
0c3019822f
commit
b0e186f392
6 changed files with 312 additions and 44 deletions
|
|
@ -11,22 +11,44 @@ STACK=stage ./run-android-pay-smoke.sh
|
|||
|
||||
APK: F-Droid **1.6.1** (`net.taler.wallet.fdroid`).
|
||||
|
||||
## 2) Latest source build + same tests
|
||||
## 2) Source build + same tests
|
||||
|
||||
Pulls/builds `taler-android` master (`:wallet:assembleFdroidDebug`), then
|
||||
Builds `taler-android` at a git **ref** (`:wallet:assembleFdroidDebug`), then
|
||||
runs the **same** smoke (install + withdraw/pay deep-links).
|
||||
|
||||
```bash
|
||||
# default source: $HOME/taler/taler-android
|
||||
# default: inference fix branch (GOA withdraw reliability)
|
||||
./run-android-build-and-smoke.sh
|
||||
STACK=goa ./run-android-build-and-smoke.sh
|
||||
SKIP_PULL=1 ./run-android-build-and-smoke.sh # use tree as-is
|
||||
# tip of master
|
||||
BRANCH=master ./run-android-build-and-smoke.sh
|
||||
# self-build of published stable **tag** (same release as F-Droid 1.6.1)
|
||||
BRANCH=wallet-1.6.1 LABEL=stable-self ./run-android-build-and-smoke.sh
|
||||
SKIP_PULL=1 BRANCH=master ./run-android-build-and-smoke.sh
|
||||
TALER_ANDROID_SRC=/path/to/taler-android ./run-android-build-and-smoke.sh
|
||||
```
|
||||
|
||||
Built package id: `net.taler.wallet.fdroid.debug`.
|
||||
Needs `ANDROID_HOME` (e.g. `$HOME/Android/Sdk`), Java 17+, network for Maven.
|
||||
|
||||
## 2b) Variant matrix (published + stable self-build + master)
|
||||
|
||||
Runs several smokes so a single odd developer build cannot be the only sample:
|
||||
|
||||
| Variant | What |
|
||||
|---------|------|
|
||||
| **published** | F-Droid stable APK (`net.taler.wallet.fdroid` 1.6.1 / 854) |
|
||||
| **stable-self** | Rebuild tag `wallet-1.6.1` on this host (same source as stable) |
|
||||
| **master** | Rebuild `origin/master` |
|
||||
|
||||
```bash
|
||||
./run-android-variant-matrix.sh
|
||||
STACK=goa ./run-android-variant-matrix.sh
|
||||
VARIANTS=master,stable-self ./run-android-variant-matrix.sh
|
||||
VARIANTS=published,stable-self,master,fix GUI=0 ./run-android-variant-matrix.sh
|
||||
```
|
||||
|
||||
Artifacts + `SUMMARY.txt` under `out-matrix-<timestamp>/`.
|
||||
|
||||
## 3) Graphical UI (vanilla)
|
||||
|
||||
Deep-link entry (≡ QR) **plus** multi-round uiautomator taps:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue