-
Notifications
You must be signed in to change notification settings - Fork 638
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of github.com:rainbow-me/rainbow into brody/ch…
…ecks-language * 'develop' of github.com:rainbow-me/rainbow: (100 commits) [WIP]: Swaps v2 quote fetching (#5601) chore: app start up spring cleaning (#5622) fix remote config (#5627) would it kill you to log this only once (#5626) Recents (#5625) wc: improvements (#5616) Degen chain support (#5621) send: check contract address (#5586) tx requests: metadata (#5584) audit: phin (#5624) Fix: Wallets being marked as backed up by walletLoadState() (#5593) NFTs: filter instead of throw error when NFT has invalid network (#5537) Dapp Browser: Search (#5617) Browser: bug fixes, animation and UI improvements (#5618) cleanup file imports and duplicate types (#5619) requests: generalize analytics (#5589) browser: account icon clean up (#5612) Fix no tab and links (#5613) more e2e changes (#5558) . (#5615) ...
- Loading branch information
Showing
509 changed files
with
27,366 additions
and
56,676 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 |
---|---|---|
|
@@ -37,5 +37,7 @@ module.exports = { | |
], | ||
}, | ||
], | ||
'jest/expect-expect': 'off', | ||
'jest/no-disabled-tests': 'off', | ||
}, | ||
}; |
26 changes: 15 additions & 11 deletions
26
.github/workflows/macstadium-clear-cache-all-instances.yml
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 |
---|---|---|
@@ -1,36 +1,40 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: Clear macstadium cache (All instances) | ||
|
||
# Controls when the workflow will run | ||
on: [ workflow_dispatch] | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
clear-cache-ci-1: | ||
runs-on: ["CI-1"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/clear-cache | ||
clear-cache-ci-2: | ||
runs-on: ["CI-2"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/clear-cache | ||
clear-cache-ci-3: | ||
runs-on: ["CI-3"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/clear-cache | ||
clear-cache-ci-4: | ||
runs-on: ["CI-4"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/clear-cache | ||
clear-cache-ci-5: | ||
runs-on: ["CI-5"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/clear-cache | ||
clear-cache-ci-6: | ||
runs-on: ["CI-6"] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/clear-cache | ||
clear-cache-ci-7: | ||
runs-on: ["CI-7"] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/clear-cache | ||
|
||
|
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 |
---|---|---|
@@ -1,47 +1,35 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: iOS e2e tests | ||
|
||
# Controls when the workflow will run | ||
on: [pull_request, workflow_dispatch] | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "ios-e2e" | ||
ios-e2e: | ||
# The type of runner that the job will run on | ||
runs-on: ["self-hosted"] | ||
# Cancel current builds if there's a newer commit on the same branch | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up github keys | ||
run: echo 'hi 00' && git config core.sshCommand "ssh -i ~/.ssh/id_ed25519 -F /dev/null" && echo 'hi 0' | ||
run: git config core.sshCommand "ssh -i ~/.ssh/id_ed25519 -F /dev/null" | ||
|
||
- name: clean ios app step | ||
run: yarn clean:ios > /dev/null 2>&1 || true | ||
|
||
- name: Set up ENV vars & scripts | ||
run: | | ||
# read local env vars | ||
echo 'hi' | ||
source ~/.bashrc | ||
echo 'hi 1' | ||
# fetch env vars | ||
git clone [email protected]:rainbow-me/rainbow-env.git | ||
echo '2' | ||
# unpack dotenv | ||
mv rainbow-env/dotenv .env && rm -rf rainbow-env | ||
# run CI scripts | ||
echo 'hi 3' | ||
eval $CI_SCRIPTS | ||
echo 'hi 4' | ||
# tweak dotenv for e2e | ||
sed -i''-e "s/\IS_TESTING=false/IS_TESTING=true/" .env && rm -f .env-e | ||
echo 'hi 5' | ||
- name: Install deps via Yarn | ||
run: yarn setup-ci | ||
|
||
|
@@ -55,13 +43,25 @@ jobs: | |
run: yarn lint:ci | ||
|
||
- name: Install Pods | ||
run: cd ios && bundle install && pod install --repo-update && cd .. | ||
run: yarn install-pods | ||
|
||
- name: Rebuild detox cache | ||
run: ./node_modules/.bin/detox clean-framework-cache && ./node_modules/.bin/detox build-framework-cache | ||
|
||
- name: Build the app in Release mode | ||
- name: Remove old Detox artifacts | ||
run: rm -rf ./artifacts/ | ||
|
||
- name: Build the app in release mode | ||
run: ./node_modules/.bin/detox build --configuration ios.sim.release | ||
|
||
- name: Run iOS e2e tests with retry | ||
# change the '5' here to how many times you want the tests to rerun on failure | ||
run: ./scripts/run-retry-tests.sh 5 | ||
|
||
- name: Upload Test Artifacts | ||
if: failure() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: detox-artifacts | ||
path: artifacts/** | ||
|
||
- name: Run iOS e2e tests | ||
run: ./node_modules/.bin/detox test -R 5 --configuration ios.sim.release --forceExit --bail |
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 |
---|---|---|
|
@@ -10,4 +10,4 @@ rainbow-scripts | |
.vscode | ||
__generated__ | ||
coverage | ||
src/browser/InjectedJSBundle.js | ||
InjectedJSBundle.js |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.