-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2,346 changed files
with
246,587 additions
and
181,229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,13 +40,13 @@ jobs: | |
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-toolchain@develop | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 3.2.2 | ||
ruby-version: 3.3.0 | ||
env: | ||
ImageOS: ubuntu20 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: "zulu" # See 'Supported distributions' for available options | ||
java-version: "11" | ||
java-version: "17" | ||
- name: setup Android SDK | ||
uses: android-actions/[email protected] | ||
- name: install dependencies | ||
|
@@ -82,7 +82,7 @@ jobs: | |
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ steps.post-version.outputs.version }}-release | ||
path: ${{ github.workspace }}/apps/ledger-live-mobile/android/app/build/outputs/apk/release | ||
path: ${{ github.workspace }}/apps/ledger-live-mobile/android/app/build/outputs/apk/stagingRelease | ||
|
||
build-mobile-app-ios: | ||
runs-on: macos-latest | ||
|
@@ -100,7 +100,7 @@ jobs: | |
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-toolchain@develop | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 3.2.2 | ||
ruby-version: 3.3.0 | ||
- name: install dependencies | ||
run: pnpm i --filter="live-mobile..." --filter="ledger-live" --no-frozen-lockfile --unsafe-perm | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -120,25 +120,19 @@ jobs: | |
xcrun simctl delete ${{ steps.simulator.outputs.id }} | ||
- name: Generate single file Allure report | ||
if: ${{ !cancelled() || steps.detox.outcome == 'cancelled' }} | ||
run: pnpm dlx allure-commandline generate apps/ledger-live-mobile/allure-results --single-file | ||
run: pnpm dlx allure-commandline generate apps/ledger-live-mobile/artifacts --single-file | ||
- name: Upload Allure single file report | ||
uses: actions/upload-artifact@v4 | ||
if: ${{ !cancelled() || steps.detox.outcome == 'cancelled' }} | ||
with: | ||
name: 1-global-ios-report | ||
name: ios-allure-report | ||
path: allure-report/index.html | ||
- name: Upload test artifacts | ||
uses: actions/upload-artifact@v4 | ||
if: ${{ !cancelled() || steps.detox.outcome == 'cancelled' }} | ||
with: | ||
name: 2-test-ios-artifacts | ||
name: "ios-test-artifacts" | ||
path: apps/ledger-live-mobile/artifacts | ||
- name: Upload Allure report | ||
uses: actions/upload-artifact@v4 | ||
if: ${{ !cancelled() || steps.detox.outcome == 'cancelled' }} | ||
with: | ||
name: "allure-ios-reports" | ||
path: apps/ledger-live-mobile/allure-results | ||
|
||
allure-report-ios: | ||
name: "Allure Reports Export on Server" | ||
|
@@ -154,7 +148,7 @@ jobs: | |
platform: ios | ||
login: ${{ vars.ALLURE_USERNAME }} | ||
password: ${{ secrets.ALLURE_LEDGER_LIVE_PASSWORD }} | ||
path: allure-ios-reports | ||
path: ios-test-artifacts | ||
|
||
detox-tests-android: | ||
name: "Ledger Live Mobile - Android Detox Tests" | ||
|
@@ -187,11 +181,11 @@ jobs: | |
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }} | ||
region: ${{ secrets.AWS_CACHE_REGION }} | ||
turbo-server-token: ${{ secrets.TURBOREPO_SERVER_TOKEN }} | ||
- name: setup JDK 11 | ||
- name: setup JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: "zulu" | ||
java-version: "11" | ||
java-version: "17" | ||
cache: "gradle" | ||
- name: setup Android SDK | ||
uses: android-actions/[email protected] | ||
|
@@ -262,25 +256,19 @@ jobs: | |
DETOX_INSTALL_TIMEOUT: 120000 | ||
- name: Generate single file Allure report | ||
if: ${{ !cancelled() || steps.detox.outcome == 'cancelled' }} | ||
run: pnpm dlx allure-commandline generate apps/ledger-live-mobile/allure-results --single-file | ||
run: pnpm dlx allure-commandline generate apps/ledger-live-mobile/artifacts --single-file | ||
- name: Upload Allure single file report | ||
uses: actions/upload-artifact@v4 | ||
if: ${{ !cancelled() || steps.detox.outcome == 'cancelled' }} | ||
with: | ||
name: 1-global-android-report | ||
name: android-allure-report | ||
path: allure-report/index.html | ||
- name: Upload test artifacts | ||
if: ${{ !cancelled() || steps.detox.outcome == 'cancelled' }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: 2-test-android-artifacts | ||
path: apps/ledger-live-mobile/artifacts/ | ||
- name: Upload Allure Report | ||
uses: actions/upload-artifact@v4 | ||
if: ${{ !cancelled() || steps.detox.outcome == 'cancelled' }} | ||
with: | ||
name: "allure-android-reports" | ||
path: apps/ledger-live-mobile/allure-results | ||
name: "android-test-artifacts" | ||
path: apps/ledger-live-mobile/artifacts/ | ||
|
||
allure-report-android: | ||
name: "Allure Reports Export on Server" | ||
|
@@ -297,7 +285,7 @@ jobs: | |
platform: android | ||
login: ${{ vars.ALLURE_USERNAME }} | ||
password: ${{ secrets.ALLURE_LEDGER_LIVE_PASSWORD }} | ||
path: allure-android-reports | ||
path: android-test-artifacts | ||
|
||
report: | ||
needs: [detox-tests-android, detox-tests-ios] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.