mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-04-22 04:27:58 +00:00
Initial commit: Pezkuwi Wallet Android
Security hardened release: - Code obfuscation enabled (minifyEnabled=true, shrinkResources=true) - Sensitive files excluded (google-services.json, keystores) - Branch.io key moved to BuildConfig placeholder - Updated dependencies: OkHttp 4.12.0, Gson 2.10.1, BouncyCastle 1.77 - Comprehensive ProGuard rules for crypto wallet - Navigation 2.7.7, Lifecycle 2.7.0, ConstraintLayout 2.1.4
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
name: Run balances tests
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 */8 * * *'
|
||||
|
||||
jobs:
|
||||
build-app:
|
||||
uses: pezkuwichain/pezkuwi-wallet-android/.github/workflows/android_build.yml@main
|
||||
with:
|
||||
branch: ${{github.head_ref}}
|
||||
gradlew-command: assembleDebug
|
||||
upload-name: develop-apk
|
||||
run-tests: false
|
||||
build-debug-tests: true
|
||||
secrets: inherit
|
||||
|
||||
run-tests:
|
||||
needs: [build-app]
|
||||
runs-on: macos-13
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Download built artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: develop-apk
|
||||
path: app
|
||||
|
||||
- name: Debug path
|
||||
run: |
|
||||
ls -laR app
|
||||
|
||||
- name: Add permissions
|
||||
run: chmod +x .github/scripts/run_balances_test.sh
|
||||
|
||||
- name: Run tests
|
||||
uses: reactivecircus/android-emulator-runner@v2
|
||||
with:
|
||||
disable-animations: true
|
||||
profile: Nexus 6
|
||||
api-level: 29
|
||||
script: .github/scripts/run_balances_test.sh
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: anroid-results
|
||||
path: ./allure-results.tar
|
||||
|
||||
report:
|
||||
needs: [run-tests]
|
||||
if: ${{ always() }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Download artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: artifacts
|
||||
|
||||
- name: Unzip results
|
||||
run: |
|
||||
find artifacts -name allure-results.tar -exec tar -xvf {} \;
|
||||
|
||||
- name: Debug path
|
||||
run: |
|
||||
ls -laR
|
||||
|
||||
- name: Generate report
|
||||
uses: ./.github/workflows/report/
|
||||
with:
|
||||
token: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
||||
keep-reports-history: 30
|
||||
|
||||
telegram-notification:
|
||||
needs: [report]
|
||||
runs-on: ubuntu-latest
|
||||
if: failure()
|
||||
steps:
|
||||
- name: Notify Telegram channel
|
||||
uses: appleboy/telegram-action@master
|
||||
with:
|
||||
to: ${{ secrets.TELEGRAM_TO }}
|
||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||
format: html
|
||||
message: |
|
||||
💸 Balances tests failed.
|
||||
|
||||
Test Results: https://pezkuwichain.github.io/balances_test_result/${{ github.run_number }}/index.html
|
||||
|
||||
Github run: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||
Reference in New Issue
Block a user