mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-04-22 02:07:58 +00:00
fix: resolve CI workflow failures across multiple jobs
- balances_test: update macos-13 → macos-14 (13 no longer supported) - balances_test: fix null branch ref on schedule triggers - balances_test: fix typo anroid-results → android-results - install: fix broken NDK path reference (steps.setup-ndk not defined) - install: use cmdline-tools/latest instead of hardcoded 16.0 - Created pezkuwichain/balances_test_result repo with gh-pages - Added ACTIONS_DEPLOY_KEY secret for report deployment
This commit is contained in:
@@ -9,7 +9,7 @@ jobs:
|
|||||||
build-app:
|
build-app:
|
||||||
uses: pezkuwichain/pezkuwi-wallet-android/.github/workflows/android_build.yml@main
|
uses: pezkuwichain/pezkuwi-wallet-android/.github/workflows/android_build.yml@main
|
||||||
with:
|
with:
|
||||||
branch: ${{github.head_ref}}
|
branch: ${{ github.head_ref || github.ref_name || 'main' }}
|
||||||
gradlew-command: assembleDebug
|
gradlew-command: assembleDebug
|
||||||
upload-name: develop-apk
|
upload-name: develop-apk
|
||||||
run-tests: false
|
run-tests: false
|
||||||
@@ -18,7 +18,7 @@ jobs:
|
|||||||
|
|
||||||
run-tests:
|
run-tests:
|
||||||
needs: [build-app]
|
needs: [build-app]
|
||||||
runs-on: macos-13
|
runs-on: macos-14
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
name: anroid-results
|
name: android-results
|
||||||
path: ./allure-results.tar
|
path: ./allure-results.tar
|
||||||
|
|
||||||
report:
|
report:
|
||||||
@@ -63,7 +63,7 @@ jobs:
|
|||||||
- name: Unzip results
|
- name: Unzip results
|
||||||
run: |
|
run: |
|
||||||
find artifacts -name allure-results.tar -exec tar -xvf {} \;
|
find artifacts -name allure-results.tar -exec tar -xvf {} \;
|
||||||
|
|
||||||
- name: Debug path
|
- name: Debug path
|
||||||
run: |
|
run: |
|
||||||
ls -laR
|
ls -laR
|
||||||
@@ -89,5 +89,5 @@ jobs:
|
|||||||
💸 Balances tests failed.
|
💸 Balances tests failed.
|
||||||
|
|
||||||
Test Results: https://pezkuwichain.github.io/balances_test_result/${{ github.run_number }}/index.html
|
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 }}
|
Github run: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||||
|
|||||||
@@ -16,11 +16,11 @@ runs:
|
|||||||
cmdline-tools-version: 12266719
|
cmdline-tools-version: 12266719
|
||||||
|
|
||||||
- name: Install NDK
|
- name: Install NDK
|
||||||
run: echo "y" | sudo ${ANDROID_SDK_ROOT}/cmdline-tools/16.0/bin/sdkmanager --install "ndk;26.1.10909125" --sdk_root=${ANDROID_SDK_ROOT}
|
run: echo "y" | sudo ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --install "ndk;26.1.10909125" --sdk_root=${ANDROID_SDK_ROOT}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Set ndk.dir in local.properties
|
- name: Set ndk.dir in local.properties
|
||||||
run: echo "ndk.dir=${{ steps.setup-ndk.outputs.ndk-path }}" >> local.properties
|
run: echo "ndk.dir=${ANDROID_SDK_ROOT}/ndk/26.1.10909125" >> local.properties
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: 🦀 Install Rust
|
- name: 🦀 Install Rust
|
||||||
|
|||||||
Reference in New Issue
Block a user