mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-10-21 19:26:21 +00:00
ci(release): smoke-test the release APK on an emulator, drop the BrowserStack trigger
The release workflow ended by triggering BrowserStack tests in appium-mobile-tests with a personal token. The token expired on 2026-10-17, so every release build since is red, and the BrowserStack run behind it had never produced a result (it fails uploading the app, KeyError 'app_url', since 2026-08-03). Its tests mostly asserted nothing. In its place, every release build now installs the APK on an x86_64 API 34 emulator on a GitHub-hosted runner, launches it, and fails unless the first-run welcome screen appears with both its create and restore buttons and the app has neither crashed nor exited. The screen is matched by view id, so it holds in any locale. A screenshot, the view tree and logcat are kept as an artifact. It needs no account and no stored secret, and it can be run by hand against the APK of an earlier run.
This commit is contained in:
1 parent
280ccc3fd6
commit
618c467e0e
4 files changed
+100
-82
No files matched your search
@@ -69,14 +69,9 @@ jobs:
|
||||
run: |
|
||||
echo "App uploaded to: ${{ steps.s3_upload.outputs.s3_url }}"
|
||||
|
||||
appium-mobile-tests:
|
||||
needs: [upload-to-s3]
|
||||
if: ${{ always() && needs.upload-to-s3.result == 'success' }}
|
||||
uses: ./.github/workflows/appium-mobile-tests.yml
|
||||
with:
|
||||
app_url: ${{ needs.upload-to-s3.outputs.s3_url }}
|
||||
test_grep: "android"
|
||||
allure_job_run_id: ""
|
||||
secrets:
|
||||
WORKFLOW_TOKEN: ${{ secrets.PAT_TOKEN }}
|
||||
ALLURE_TOKEN: ${{ secrets.ALLURE_TOKEN }}
|
||||
smoke-test:
|
||||
needs: build
|
||||
permissions:
|
||||
contents: read
|
||||
actions: read
|
||||
uses: ./.github/workflows/emulator_smoke_test.yml
|
||||
Reference in new issue
Block a user