Skip to content

Commit

Permalink
TEMP: only run the iOS E2E job within E2E tests
Browse files Browse the repository at this point in the history
  • Loading branch information
angusbayley committed Feb 12, 2025
1 parent e439a9c commit 6f22aa5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
# needs: determine-affected
# if: ${{contains(needs.determine-affected.outputs.paths, 'ledger-live-mobile') && !github.event.pull_request.head.repo.fork}}
if: true
uses: LedgerHQ/ledger-live/.github/workflows/test-mobile-e2e-reusable.yml@develop
uses: LedgerHQ/ledger-live/.github/workflows/test-mobile-e2e-reusable.yml@support/turbo-e2e-ios
secrets: inherit

# Tests
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/test-mobile-e2e-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ jobs:
allure-report-ios:
name: "Allure Reports Export on Server"
runs-on: [ledger-live-medium]
if: ${{ !inputs.speculos_tests && (inputs.slack_notif || github.event_name == 'push') }}
# if: ${{ !inputs.speculos_tests && (inputs.slack_notif || github.event_name == 'push') }}
if: false
needs: [detox-tests-ios]
outputs:
report-url: ${{ steps.upload.outputs.report-url }}
Expand All @@ -194,6 +195,7 @@ jobs:

detox-tests-android:
name: "Ledger Live Mobile - Android Detox Tests"
if: false
runs-on: [ledger-live-linux-8CPU-32RAM]
env:
NODE_OPTIONS: "--max-old-space-size=7168"
Expand Down Expand Up @@ -342,7 +344,8 @@ jobs:
allure-report-android:
name: "Allure Reports Export on Server"
runs-on: [ledger-live-medium]
if: ${{ always() && (inputs.slack_notif || github.event_name == 'push' || github.event_name == 'schedule') }}
# if: ${{ always() && (inputs.slack_notif || github.event_name == 'push' || github.event_name == 'schedule') }}
if: false
outputs:
report-url: ${{ steps.upload.outputs.report-url }}
result: ${{ steps.summary.outputs.test_result }}
Expand Down Expand Up @@ -449,7 +452,8 @@ jobs:
report-on-slack:
runs-on: ubuntu-22.04
needs: [allure-report-android, allure-report-ios]
if: ${{ (failure() && github.event_name == 'push') || (always() && (inputs.slack_notif || github.event_name == 'schedule')) }}
# if: ${{ (failure() && github.event_name == 'push') || (always() && (inputs.slack_notif || github.event_name == 'schedule')) }}
if: false
env:
IOS_STATUS: ${{ needs.allure-report-ios.outputs.status }}
IOS_REPORT_URL: ${{ needs.allure-report-ios.outputs.report-url }}
Expand Down

0 comments on commit 6f22aa5

Please sign in to comment.