This repository has been archived by the owner on Jun 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2486 from LedgerHQ/release/3.1.x
release/3.1.x
- Loading branch information
Showing
420 changed files
with
5,348 additions
and
34,952 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
name: Detox E2E CI | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- "*" | ||
workflow_dispatch: | ||
inputs: | ||
prNumber: | ||
description: pr number to trigger on | ||
required: true | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
ios: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout PR | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{github.event.pull_request.head.ref}} | ||
repository: ${{github.event.pull_request.head.repo.full_name}} | ||
|
||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.6 # Not needed with a .ruby-version file | ||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
|
||
- name: Install applesimutils | ||
run: | | ||
brew tap wix/brew | ||
brew install applesimutils | ||
- name: Setup Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 14 | ||
cache: 'yarn' | ||
|
||
- name: Has hash commit deps | ||
uses: ledgerhq/actions/packages/has-hash-commit-deps@main | ||
id: has-hash-commit-deps | ||
with: | ||
workspace: ${{ github.workspace }} | ||
|
||
- name: Install dependencies without network concurrency | ||
if: ${{ steps.has-hash-commit-deps.outputs.has-hash-commit-deps == 'true' }} | ||
env: | ||
JOBS: max | ||
run: yarn --prefer-offline --frozen-lockfile --network-timeout 100000 --network-concurrency 1 | ||
|
||
- name: Install dependencies with network concurrency | ||
if: ${{ steps.has-hash-commit-deps.outputs.has-hash-commit-deps == 'false' }} | ||
env: | ||
JOBS: max | ||
run: yarn --prefer-offline --frozen-lockfile --network-timeout 100000 | ||
|
||
- name: Rebuild detox | ||
run: yarn detox clean-framework-cache && yarn detox build-framework-cache | ||
|
||
- name: Build iOS app for Detox test run | ||
env: | ||
NODE_OPTIONS: "--max-old-space-size=7168" | ||
run: yarn e2e:build -c ios.staging | ||
|
||
- name: Test iOS app | ||
timeout-minutes: 15 | ||
run: yarn e2e:test -c ios.staging --loglevel verbose --record-logs failing --record-timeline all --take-screenshots all --record-videos failing --detectOpenHandles | ||
- name: Upload test artifacts | ||
if: always() | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: test-ios-artifacts | ||
path: artifacts |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.